aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Invite.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-09-15 11:00:41 +0200
committerMario Vavti <mario@mariovavti.com>2018-09-15 11:00:41 +0200
commit299eb469f8d4d674c49e41162d28f237c0d7294f (patch)
treee7451aec070da5242fdbf7bec12ce43c6b368960 /Zotlabs/Module/Invite.php
parent0f9a8a43e4ab274e251240f6091a5bf87c2ac205 (diff)
downloadvolse-hubzilla-299eb469f8d4d674c49e41162d28f237c0d7294f.tar.gz
volse-hubzilla-299eb469f8d4d674c49e41162d28f237c0d7294f.tar.bz2
volse-hubzilla-299eb469f8d4d674c49e41162d28f237c0d7294f.zip
appify mood
Diffstat (limited to 'Zotlabs/Module/Invite.php')
-rw-r--r--Zotlabs/Module/Invite.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Module/Invite.php b/Zotlabs/Module/Invite.php
index 0a79387ce..234802746 100644
--- a/Zotlabs/Module/Invite.php
+++ b/Zotlabs/Module/Invite.php
@@ -21,6 +21,10 @@ class Invite extends Controller {
notice( t('Permission denied.') . EOL);
return;
}
+
+ if(! Apps::system_app_installed(local_channel(), 'Invite')) {
+ return;
+ }
check_form_security_token_redirectOnErr('/', 'send_invite');