]> git.mxchange.org Git - friendica.git/blobdiff - update.php
Statically used methods should be defined statically as well
[friendica.git] / update.php
index aaa7aa0b9e62161b0cb74f7010d122a60a1d5487..f6f79dac1e5dfb8d5ca56b3c5a40b415bf335763 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define('UPDATE_VERSION' , 1229);
+define('UPDATE_VERSION' , 1234);
 
 /**
  *
@@ -1729,3 +1729,8 @@ function update_1202() {
        $r = q("UPDATE `user` SET `account-type` = %d WHERE `page-flags` IN (%d, %d)",
                dbesc(ACCOUNT_TYPE_COMMUNITY), dbesc(PAGE_COMMUNITY), dbesc(PAGE_PRVGROUP));
 }
+
+function update_1231() {
+       // For this special case we have to use the old update routine
+       $r = q("ALTER TABLE `workerqueue` ADD `done` tinyint(1) NOT NULL DEFAULT 0");
+}