aboutsummaryrefslogblamecommitdiffstats
path: root/Zotlabs/Update/_1237.php
blob: 6c998ba4fd87077d9cf477c961707ef8d896620b (plain) (tree)
























                                                               
<?php

namespace Zotlabs\Update;

class _1237 {

	function run() {
	
		q("START TRANSACTION");

		$r = q("DELETE FROM app WHERE app_name = '%s'",
			dbesc('Premium Channel')
		);

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

		q("ROLLBACK");
		return UPDATE_FAILED;

	}

}