]> git.mxchange.org Git - friendica.git/blobdiff - mod/friendica.php
Noscrape is now enabled all the time.
[friendica.git] / mod / friendica.php
index ba212762950e65981e309682489e6fdf06c4e040..7b99f9e6fb46a969e27197689c817a431a0d1421 100644 (file)
@@ -38,11 +38,8 @@ function friendica_init(&$a) {
                        'site_name' => $a->config['sitename'],
                        'platform' => FRIENDICA_PLATFORM,
                        'info' => ((x($a->config,'info')) ? $a->config['info'] : ''),
+                       'no_scrape_url' => $a->get_baseurl().'/noscrape'
                );
-               
-               //Enable noscrape?
-               if(!get_config('system','disable_noscrape'))
-                       $data['no_scrape_url'] = $a->get_baseurl().'/noscrape';
 
                echo json_encode($data);
                killme();