diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-10-06 20:48:29 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-10-06 20:48:29 +0200 |
commit | 6ffdf3880f89b83c701f866a6188ef6f079078c5 (patch) | |
tree | b6c0c7cad557e8743d1c9ca97dfa223ce475dc99 | |
parent | 66cf0852728d2f95ed3a5b7a304dbc7b79111831 (diff) | |
download | volse-hubzilla-6ffdf3880f89b83c701f866a6188ef6f079078c5.tar.gz volse-hubzilla-6ffdf3880f89b83c701f866a6188ef6f079078c5.tar.bz2 volse-hubzilla-6ffdf3880f89b83c701f866a6188ef6f079078c5.zip |
another db update to get rid of the old view bookmarks entries
-rw-r--r-- | Zotlabs/Update/_1223.php | 23 | ||||
-rwxr-xr-x | boot.php | 2 |
2 files changed, 24 insertions, 1 deletions
diff --git a/Zotlabs/Update/_1223.php b/Zotlabs/Update/_1223.php new file mode 100644 index 000000000..c6f05c806 --- /dev/null +++ b/Zotlabs/Update/_1223.php @@ -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; + + } + +} @@ -54,7 +54,7 @@ define ( 'STD_VERSION', '3.9' ); define ( 'ZOT_REVISION', '6.0a' ); -define ( 'DB_UPDATE_VERSION', 1222 ); +define ( 'DB_UPDATE_VERSION', 1223 ); define ( 'PROJECT_BASE', __DIR__ ); |