aboutsummaryrefslogblamecommitdiffstats
path: root/Zotlabs/Update/_1251.php
blob: ee72075d1a812dfae570c7ddd495a59195a1f51c (plain) (tree)






















                                                                                                                                       
<?php

namespace Zotlabs\Update;

class _1251 {

	function run() {

		dbq("START TRANSACTION");

		$r = dbq("DELETE FROM app WHERE (app_name = 'Channel Home' OR app_name = 'Permission Categories') AND app_system = 1");

		if($r) {
			dbq("COMMIT");
			return UPDATE_SUCCESS;
		}

		dbq("ROLLBACK");
		return UPDATE_FAILED;

	}

}