another db update to get rid of the old view bookmarks entries
(cherry picked from commit 6ffdf3880f
)
This commit is contained in:
parent
9bfa5c82d1
commit
0a840c02f7
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