]> git.mxchange.org Git - friendica.git/blobdiff - update.php
Merge pull request #2045 from annando/1511-dirfind-addr
[friendica.git] / update.php
index 954993a70a0f6ed59e4c372cff84902294ea62b5..33b4560c09a4981f3ea17e174f7ce2bd2fd8dde6 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define( 'UPDATE_VERSION' , 1180 );
+define( 'UPDATE_VERSION' , 1190 );
 
 /**
  *
@@ -1640,3 +1640,22 @@ function update_1178() {
 
        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;
+}