]> git.mxchange.org Git - friendica.git/blobdiff - update.php
Merge remote-tracking branch 'remotes/upstream/master'
[friendica.git] / update.php
index d752eaa6df99750d4047107855eec248dceaea34..9442f825bb34fb3cefe53f8241f51115b9b0ea75 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define( 'UPDATE_VERSION' , 1153 );
+define( 'UPDATE_VERSION' , 1154 );
 
 /**
  *
@@ -1337,3 +1337,10 @@ 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;
+}
+