]> git.mxchange.org Git - friendica.git/blobdiff - update.php
Merge pull request #1460 from FlxAlbroscheit/develop
[friendica.git] / update.php
index 57500b10d95acac99c3d1cb31659c5c40121b04d..5b0b4cd25117de503a10529e88c9a0714deaa460 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define( 'UPDATE_VERSION' , 1179 );
+define( 'UPDATE_VERSION' , 1182 );
 
 /**
  *
@@ -1632,8 +1632,19 @@ function update_1177() {
 }
 
 function update_1178() {
+       if (get_config('system','no_community_page'))
+               set_config('system','community_page_style', CP_NO_COMMUNITY_PAGE);
+
        // Update the central item storage with uid=0
        proc_run('php',"include/threadupdate.php");
 
        return UPDATE_SUCCESS;
 }
+
+function update_1180() {
+
+       // Fill the new fields in the term table.
+       proc_run('php',"include/tagupdate.php");
+
+       return UPDATE_SUCCESS;
+}