mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:27:03 +02:00
@ -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");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user