aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-22 19:19:04 -0700
committerfriendica <info@friendica.com>2014-05-22 19:19:04 -0700
commitbcac633085d9383ad32f3608f07f83df31cc7635 (patch)
tree723f257ff66d432c892cb92455ca4e872d12e222 /install/update.php
parentceb64bdb24259cc5e4491fc185fdec348feca95c (diff)
downloadvolse-hubzilla-bcac633085d9383ad32f3608f07f83df31cc7635.tar.gz
volse-hubzilla-bcac633085d9383ad32f3608f07f83df31cc7635.tar.bz2
volse-hubzilla-bcac633085d9383ad32f3608f07f83df31cc7635.zip
implement 'requires' on personal apps
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index cc755c8c2..0d5d26237 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1111 );
+define( 'UPDATE_VERSION' , 1112 );
/**
*
@@ -1244,3 +1244,10 @@ ADD INDEX ( `app_price` )");
return UPDATE_SUCCESS;
}
+
+function update_r1111() {
+ $r = q("ALTER TABLE `app` ADD `app_requires` CHAR( 255 ) NOT NULL DEFAULT '' ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}