]> git.mxchange.org Git - friendica.git/blobdiff - update.php
Only show the relation on native networks.
[friendica.git] / update.php
index e80de3526a4b091917a839f39733b221e6556d22..954993a70a0f6ed59e4c372cff84902294ea62b5 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define( 'UPDATE_VERSION' , 1178 );
+define( 'UPDATE_VERSION' , 1180 );
 
 /**
  *
@@ -1630,3 +1630,13 @@ 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;
+}