]> git.mxchange.org Git - friendica.git/blobdiff - mod/crepair.php
Issue-#3873
[friendica.git] / mod / crepair.php
index 59ac620a374cf1dc4730ef3b1455b3e198ce2182..cc930a2f3a7c7abbdcc717abf5bdb8c2d2c9f5a3 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 use Friendica\App;
+use Friendica\Core\Config;
 
 require_once("include/contact_selectors.php");
 require_once("mod/contacts.php");
@@ -127,7 +128,7 @@ function crepair_content(App $a) {
 
        $returnaddr = "contacts/$cid";
 
-       $allow_remote_self = get_config('system','allow_users_remote_self');
+       $allow_remote_self = Config::get('system','allow_users_remote_self');
 
        // Disable remote self for everything except feeds.
        // There is an issue when you repeat an item from maybe twitter and you got comments from friendica and twitter