another db update to get rid of the old view bookmarks entries

This commit is contained in:
Mario Vavti
2018-10-06 20:48:29 +02:00
parent 66cf085272
commit 6ffdf3880f
2 changed files with 24 additions and 1 deletions

23
Zotlabs/Update/_1223.php Normal file
View File

@@ -0,0 +1,23 @@
<?php
namespace Zotlabs\Update;
class _1223 {
function run() {
q("START TRANSACTION");
$r1 = q("DELETE FROM app WHERE app_name = 'View Bookmarks' and app_system = 1");
if($r1) {
q("COMMIT");
return UPDATE_SUCCESS;
}
q("ROLLBACK");
return UPDATE_FAILED;
}
}