missing update file

This commit is contained in:
Mario
2020-01-18 20:13:09 +00:00
parent 43aea3ce38
commit 7404183830

25
Zotlabs/Update/_1235.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
namespace Zotlabs\Update;
class _1235 {
function run() {
q("START TRANSACTION");
$r = q("DELETE FROM app WHERE app_name = '%s' AND app_system = 1",
dbesc('Mail')
);
if($r) {
q("COMMIT");
return UPDATE_SUCCESS;
}
q("ROLLBACK");
return UPDATE_FAILED;
}
}