]> git.mxchange.org Git - friendica.git/blobdiff - update.php
Send notifications for each new post of a contact, option for creating a summary...
[friendica.git] / update.php
index 343be1a4c135de2163d34a8decaafa25a40f6f54..ed631fee4e9fd995d088cb0c17fc6348693dd018 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define( 'UPDATE_VERSION' , 1167 );
+define( 'UPDATE_VERSION' , 1169 );
 
 /**
  *
@@ -1541,3 +1541,19 @@ function update_1166() {
 
        return UPDATE_SUCCESS;
 }
+
+function update_1167() {
+       $r = q("ALTER TABLE `contact` ADD `notify_new_posts` TINYINT(1) NOT NULL DEFAULT '0'");
+       if (!$r)
+               return UPDATE_FAILED;
+
+       return UPDATE_SUCCESS;
+}
+
+function update_1168() {
+       $r = q("ALTER TABLE `contact` ADD `fetch_further_information` TINYINT(1) NOT NULL DEFAULT '0'");
+       if (!$r)
+               return UPDATE_FAILED;
+
+       return UPDATE_SUCCESS;
+}