]> git.mxchange.org Git - friendica.git/blobdiff - update.php
Conversation and Item now handles (dis)like as they should
[friendica.git] / update.php
index d752eaa6df99750d4047107855eec248dceaea34..19e6cf3bdf78c06eae128ee1f383eb4f902d3492 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define( 'UPDATE_VERSION' , 1153 );
+define( 'UPDATE_VERSION' , 1154 );
 
 /**
  *
@@ -1337,3 +1337,9 @@ function update_1152() {
        return UPDATE_SUCCESS;
 }
 
+function update_1153() {
+       $r = q("ALTER TABLE `hook` ADD `priority` INT(11) UNSIGNED NOT NULL DEFAULT '0'");
+       
+       if(!$r) return UPDATE_FAILED;
+       return UPDATE_SUCCESS;
+}