prototype of message removal

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO
2019-07-16 21:31:48 +02:00
parent ea3b0c372b
commit 4b2eefb712
4 changed files with 76 additions and 10 deletions

View File

@ -7,14 +7,14 @@ class ControllerAuditRemoval extends Controller {
$this->id = "content";
$this->template = "audit/removal.tpl";
$this->layout = "common/layout-audit";
$this->layout = "common/layout";
$request = Registry::get('request');
$db = Registry::get('db');
$this->load->model('audit/removal');
if(Registry::get('admin_user') == 0 && Registry::get('auditor_user') == 0) {
if(Registry::get('admin_user') == 0 && Registry::get('auditor_user') == 0 && Registry::get('data_officer') == 0) {
die("go away");
}