From e1ceb050e19c7574bca146a8da7047ee4ff456b5 Mon Sep 17 00:00:00 2001
From: Marius Burkard <m.burkard@pixcept.de>
Date: Sun, 10 Jul 2016 05:02:35 -0400
Subject: [PATCH] Merge branch 'stable-3.1'

---
 interface/web/admin/remote_user_del.php |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/interface/web/admin/remote_user_del.php b/interface/web/admin/remote_user_del.php
index 2779105..b23336c 100644
--- a/interface/web/admin/remote_user_del.php
+++ b/interface/web/admin/remote_user_del.php
@@ -39,23 +39,25 @@
 * End Form configuration
 ******************************************/
 
-require_once('../../lib/config.inc.php');
-require_once('../../lib/app.inc.php');
+require_once '../../lib/config.inc.php';
+require_once '../../lib/app.inc.php';
 
 //* Check permissions for module
 $app->auth->check_module_permissions('admin');
+$app->auth->check_security_permissions('admin_allow_remote_users');
 
 $app->uses('tpl,tform');
 $app->load('tform_actions');
 
-// Create a class page_action that extends the tform_actions base class 
+// Create a class page_action that extends the tform_actions base class
 
-class page_action extends tform_actions { 
+class page_action extends tform_actions {
 
 
 	// Customisations for the page actions will be defined here
-   	
+
 }
+
 $page = new page_action;
 $page->onDelete();
 

--
Gitblit v1.9.1