]> git.mxchange.org Git - friendica.git/blobdiff - update.php
Merge remote-tracking branch 'upstream/develop' into 1511-vier-mobile2
[friendica.git] / update.php
index ca86c8557e494b5328af2c93fb1db3fa405b1781..7c32f5819c35ba7aa905a23f1640932fc0a8d268 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define( 'UPDATE_VERSION' , 1184 );
+define( 'UPDATE_VERSION' , 1189 );
 
 /**
  *
@@ -1648,3 +1648,14 @@ function update_1180() {
 
        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;
+}