From 299eb469f8d4d674c49e41162d28f237c0d7294f Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 15 Sep 2018 11:00:41 +0200 Subject: appify mood --- Zotlabs/Module/Invite.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Zotlabs/Module/Invite.php') 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'); -- cgit v1.2.3