]> git.mxchange.org Git - friendica.git/blobdiff - mod/nodeinfo.php
Catch HTTPExceptions in App::runFrontend()
[friendica.git] / mod / nodeinfo.php
index d1df2170406a6754a3a7d0202d5d4e61f794fa10..71aaae8d4eb8948e3e01f8fe19399c011ce725ae 100644 (file)
@@ -83,10 +83,6 @@ function nodeinfo_init(App $a) {
                        $nodeinfo['services']['inbound'][] = 'gnusocial';
                        $nodeinfo['services']['outbound'][] = 'gnusocial';
                }
-
-               if (Addon::isEnabled('gpluspost') || Addon::isEnabled('buffer')) {
-                       $nodeinfo['services']['outbound'][] = 'google';
-               }
                if (Addon::isEnabled('ijpost')) {
                        $nodeinfo['services']['outbound'][] = 'insanejournal';
                }
@@ -145,7 +141,7 @@ function nodeinfo_init(App $a) {
 
 function nodeinfo_cron() {
 
-       $a = get_app();
+       $a = \get_app();
 
        // If the addon 'statistics_json' is enabled then disable it and activate nodeinfo.
        if (Addon::isEnabled('statistics_json')) {