aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-05 14:30:24 -0800
committerfriendica <info@friendica.com>2012-02-05 14:30:24 -0800
commitb12e598dba54c81a8d91d7fbd5f68922099585e1 (patch)
tree692e10ae15e86825be5139ea858c0310aa4dc456 /update.php
parent4cf6bd54693b460f3ac28d2760ff33b740493e39 (diff)
downloadvolse-hubzilla-b12e598dba54c81a8d91d7fbd5f68922099585e1.tar.gz
volse-hubzilla-b12e598dba54c81a8d91d7fbd5f68922099585e1.tar.bz2
volse-hubzilla-b12e598dba54c81a8d91d7fbd5f68922099585e1.zip
roll update 1118 forward, enable update 1119
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/update.php b/update.php
index d0fe1645b..dc3cc0e56 100755
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1119 );
+define( 'UPDATE_VERSION' , 1120 );
/**
*
@@ -1013,10 +1013,11 @@ INDEX ( `mid` )
}
function update_1118() {
-q("ALTER TABLE `contact` ADD `closeness` TINYINT( 2 ) NOT NULL DEFAULT '99' AFTER `reason` , ADD INDEX (`closensss`) ");
-q("update contact set closeness = 0 where self = 1");
+ // rolled forward
}
function update_1119() {
+q("ALTER TABLE `contact` ADD `closeness` TINYINT( 2 ) NOT NULL DEFAULT '99' AFTER `reason` , ADD INDEX (`closeness`) ");
+q("update contact set closeness = 0 where self = 1");
q("ALTER TABLE `item` ADD `spam` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `visible` , ADD INDEX (`spam`) ");
}