Remove dbeug
This commit is contained in:
parent
7bbcb7e36a
commit
02a1ecee6f
|
@ -82,10 +82,7 @@ class UsersController extends AppController {
|
|||
* @return void
|
||||
*/
|
||||
public function add() {
|
||||
ZM\Debug(1, "in add");
|
||||
if ($this->request->is('post')) {
|
||||
ZM\Debug(1, "is post");
|
||||
|
||||
global $user;
|
||||
if ($user['System'] != 'Edit') {
|
||||
throw new UnauthorizedException(__('Insufficient Privileges'));
|
||||
|
|
Loading…
Reference in New Issue