aboutsummaryrefslogblamecommitdiffstats
path: root/Zotlabs/Update/_1222.php
blob: ad8d0319752502a273bd21caa9ca3e2aa90ee862 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14



                         









                                                                                      








                                              
<?php

namespace Zotlabs\Update;

class _1222 {

	function run() {

		q("START TRANSACTION");

		$r1 = q("DELETE FROM app WHERE app_name = 'Grid' and app_system = 1");

		if($r1) {
			q("COMMIT");
			return UPDATE_SUCCESS;
		}

		q("ROLLBACK");
		return UPDATE_FAILED;

	}

}