mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 06:41:59 +01:00
8e920260a8
Signed-off-by: Janos SUTO <sj@acts.hu>
27 lines
604 B
PHP
27 lines
604 B
PHP
<?php
|
|
|
|
|
|
class ControllerAuditRemoval extends Controller {
|
|
|
|
public function index(){
|
|
|
|
$this->id = "content";
|
|
$this->template = "audit/removal.tpl";
|
|
$this->layout = "common/layout-audit-removal";
|
|
|
|
$request = Registry::get('request');
|
|
$db = Registry::get('db');
|
|
|
|
$this->load->model('audit/removal');
|
|
|
|
if(Registry::get('admin_user') == 0 && Registry::get('auditor_user') == 0 && Registry::get('data_officer') == 0) {
|
|
die("go away");
|
|
}
|
|
|
|
$this->data['data'] = $this->model_audit_removal->get_pending_removals();
|
|
|
|
$this->render();
|
|
}
|
|
|
|
}
|