aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Oauth.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Oauth.php')
-rw-r--r--Zotlabs/Module/Oauth.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/Zotlabs/Module/Oauth.php b/Zotlabs/Module/Oauth.php
index d087ecec4..5aae71ae7 100644
--- a/Zotlabs/Module/Oauth.php
+++ b/Zotlabs/Module/Oauth.php
@@ -11,6 +11,10 @@ class Oauth extends Controller {
function post() {
+ if(! local_channel())
+ return;
+
+
if(! Apps::system_app_installed(local_channel(), 'OAuth Apps Manager'))
return;
@@ -86,6 +90,9 @@ class Oauth extends Controller {
function get() {
+ if(! local_channel())
+ return;
+
if(! Apps::system_app_installed(local_channel(), 'OAuth Apps Manager')) {
//Do not display any associated widgets at this point
App::$pdl = '';