aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-30 23:07:52 -0700
committerfriendica <info@friendica.com>2012-04-30 23:07:52 -0700
commitd48cd0f9a3210c14bb98a502188358982261d9df (patch)
treed5b13e587c7b8f2d140b559f3a67fd299afdedd3 /update.php
parent25afec0f81961665717e159aba216d1e9d9f9d86 (diff)
downloadvolse-hubzilla-d48cd0f9a3210c14bb98a502188358982261d9df.tar.gz
volse-hubzilla-d48cd0f9a3210c14bb98a502188358982261d9df.tar.bz2
volse-hubzilla-d48cd0f9a3210c14bb98a502188358982261d9df.zip
hidden plugins (add .hidden file to dir)
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 3c2ecebb6..f793b89dd 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1140 );
+define( 'UPDATE_VERSION' , 1141 );
/**
*
@@ -1223,3 +1223,10 @@ function update_1139() {
return UPDATE_FAILED ;
return UPDATE_SUCCESS ;
}
+
+function update_1140() {
+ $r = q("alter table addon add hidden tinyint(1) not null default '0' after installed, add index(hidden) ");
+ if(! $r)
+ return UPDATE_FAILED ;
+ return UPDATE_SUCCESS ;
+} \ No newline at end of file