appify mood

This commit is contained in:
Mario Vavti
2018-09-15 11:00:41 +02:00
parent 0f9a8a43e4
commit 299eb469f8
2 changed files with 24 additions and 3 deletions

View File

@@ -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');