aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-15 12:57:12 -0800
committerfriendica <info@friendica.com>2014-01-15 12:57:12 -0800
commit762a5432494711bf481943a0dee72cf65f7a04bb (patch)
treeb32c1dfb66ef517131e991243ee44dc2e9a14929 /install/update.php
parente4217dc1417438a3dc8f745efec8bc122b991a03 (diff)
downloadvolse-hubzilla-762a5432494711bf481943a0dee72cf65f7a04bb.tar.gz
volse-hubzilla-762a5432494711bf481943a0dee72cf65f7a04bb.tar.bz2
volse-hubzilla-762a5432494711bf481943a0dee72cf65f7a04bb.zip
allow menus to have special roles
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 3e04df51b..022d7f0dc 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1090 );
+define( 'UPDATE_VERSION' , 1091 );
/**
*
@@ -986,3 +986,11 @@ ADD INDEX ( `creator` ) ");
}
+function update_r1090() {
+ $r = q("ALTER TABLE `menu` ADD `menu_flags` INT NOT NULL DEFAULT '0',
+ADD INDEX ( `menu_flags` )");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}
+