aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-11 19:04:07 -0700
committerfriendica <info@friendica.com>2013-08-11 19:04:07 -0700
commit6191cfef2adaa52019940cc448e28e2ad1a7ae6d (patch)
treec0d7fc1444a1c8fdfa013e8831f96f847667f9f2 /install/update.php
parent4eca591aed1e71a94c1f80b87aad9bb844199ffc (diff)
downloadvolse-hubzilla-6191cfef2adaa52019940cc448e28e2ad1a7ae6d.tar.gz
volse-hubzilla-6191cfef2adaa52019940cc448e28e2ad1a7ae6d.tar.bz2
volse-hubzilla-6191cfef2adaa52019940cc448e28e2ad1a7ae6d.zip
check these in so I can go back and find out why the stylsheet is horked
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index c09bc9d64..c97b5619f 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1058 );
+define( 'UPDATE_VERSION' , 1059 );
/**
*
@@ -670,3 +670,15 @@ function update_r1057() {
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
+
+function update_r1058() {
+ $r1 = q("ALTER TABLE `menu` ADD `menu_name` CHAR( 255 ) NOT NULL DEFAULT '' AFTER `menu_channel_id` ,
+ADD INDEX ( `menu_name` ) ");
+
+ $r2 = q("ALTER TABLE `menu_item` ADD `mitem_flags` INT NOT NULL DEFAULT '0' AFTER `mitem_desc` ,
+ADD INDEX ( `mitem_flags` ) ");
+
+ if($r1 && $r2)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}