another db update to get rid of the old view bookmarks entries
This commit is contained in:
parent
66cf085272
commit
6ffdf3880f
23
Zotlabs/Update/_1223.php
Normal file
23
Zotlabs/Update/_1223.php
Normal 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;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Reference in New Issue
Block a user