]> git.mxchange.org Git - friendica.git/blobdiff - update.php
modified: view/theme/smoothly/nav.tpl
[friendica.git] / update.php
index f98fb3ae714198810ca2b68e6505cde51e2f8297..19e6cf3bdf78c06eae128ee1f383eb4f902d3492 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define( 'UPDATE_VERSION' , 1153 );
+define( 'UPDATE_VERSION' , 1154 );
 
 /**
  *
@@ -1336,3 +1336,10 @@ function update_1152() {
                return UPDATE_FAILED;
        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;
+}