aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-23 17:35:58 -0700
committerfriendica <info@friendica.com>2012-07-23 17:35:58 -0700
commitb0f1d03a8ad51769c347a2056ce872972380d48f (patch)
treeeb534605cf394edd37e82633921d6fdebfd3bffc /update.php
parentd8e79061d69b7c1dc2c2b0e50e15e21948950ba2 (diff)
downloadvolse-hubzilla-b0f1d03a8ad51769c347a2056ce872972380d48f.tar.gz
volse-hubzilla-b0f1d03a8ad51769c347a2056ce872972380d48f.tar.bz2
volse-hubzilla-b0f1d03a8ad51769c347a2056ce872972380d48f.zip
convert all network search params to get requests (no url path args)
Diffstat (limited to 'update.php')
-rw-r--r--update.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/update.php b/update.php
index d752eaa6d..9442f825b 100644
--- a/update.php
+++ b/update.php
@@ -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;
+}
+