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;
}
}

View File

@ -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__ );