]> git.mxchange.org Git - friendica.git/blobdiff - update.php
fix minor placement issues on old themes from testbubble theme changes
[friendica.git] / update.php
index c5752e4e7253fe96431f66d40dff362dada5ec9c..2f9277dae652311e96423470b03b2d966dae3052 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define( 'UPDATE_VERSION' , 1091 );
+define( 'UPDATE_VERSION' , 1092 );
 
 /**
  *
@@ -761,3 +761,12 @@ function update_1090() {
 
 }
 
+function update_1091() {
+
+       // catch a few stragglers that may have crept in before we added this on remote connects
+       q("UPDATE `contact` SET `batch` = concat(substring_index(`url`,'/',3),'/receive/public') WHERE `network` = 'dspr' AND `batch` = '' ");
+       q("ALTER TABLE `queue` ADD `batch` TINYINT( 1 ) NOT NULL DEFAULT '0' ");
+       q("ALTER TABLE `fcontact` ADD `batch` char(255) NOT NULL AFTER `addr` ");
+
+}
+