fix: Removed debug

pull/2831/head
iglocska 2018-01-15 11:11:58 +01:00
parent 637e2dda2d
commit 4e0fe770a7
1 changed files with 0 additions and 1 deletions

View File

@ -866,7 +866,6 @@ class EventsController extends AppController {
$this->loadModel('Module');
$modules = $this->Module->getEnabledModules($this->Auth->user());
foreach ($modules as $k => $v) {
debug($v);
if (isset($v['restrict'])) {
if (!$this->_isSiteAdmin() && $v['restrict'] != $this->Auth->user('org_id')) {
unset($modules[$k]);