*/
use Friendica\App;
-use Friendica\Core\Config;
use Friendica\Core\Logger;
use Friendica\Core\Protocol;
use Friendica\Core\Renderer;
$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