mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-01-12 14:00:13 +01:00
removed admin check from accounting controller
This commit is contained in:
parent
625087b082
commit
78d0ec2129
@ -23,9 +23,6 @@ class ControllerAccountingAccounting extends Controller {
|
|||||||
$this->data['sorttype'] = 0;
|
$this->data['sorttype'] = 0;
|
||||||
$this->data['order'] = 0;
|
$this->data['order'] = 0;
|
||||||
|
|
||||||
if(Registry::get('admin_user') == 0) {
|
|
||||||
die("go away");
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->data['search'] = '';
|
$this->data['search'] = '';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user