]> git.mxchange.org Git - friendica.git/blobdiff - update.php
Merge pull request #2045 from annando/1511-dirfind-addr
[friendica.git] / update.php
index e80de3526a4b091917a839f39733b221e6556d22..33b4560c09a4981f3ea17e174f7ce2bd2fd8dde6 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define( 'UPDATE_VERSION' , 1178 );
+define( 'UPDATE_VERSION' , 1190 );
 
 /**
  *
@@ -1630,3 +1630,32 @@ 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;
+}
+
+function update_1188() {
+
+       if (strlen(get_config('system','directory_submit_url')) AND
+               !strlen(get_config('system','directory'))) {
+               set_config('system','directory', dirname(get_config('system','directory_submit_url')));
+               del_config('system','directory_submit_url');
+       }
+
+       return UPDATE_SUCCESS;
+}