]> git.mxchange.org Git - friendica.git/blobdiff - mod/crepair.php
Move /profile_photo to Module\Settings\Profile\Photo
[friendica.git] / mod / crepair.php
index 70db308f179766a88a1ed10db23e8a957b190c6d..aec1b6047118312149e219a97676417c91941e49 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 use Friendica\App;
-use Friendica\Core\Config;
 use Friendica\Core\Logger;
 use Friendica\Core\Protocol;
 use Friendica\Core\Renderer;
@@ -117,7 +116,7 @@ function crepair_content(App $a)
 
        $returnaddr = "contact/$cid";
 
-       $allow_remote_self = Config::get('system', 'allow_users_remote_self');
+       $allow_remote_self = DI::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