diff --git a/module/doc/model.php b/module/doc/model.php index ff22a35710..c6c7b99ab9 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -2868,7 +2868,6 @@ class docModel extends model $tab = strpos(',my,doc,product,project,execution,', ",{$this->app->tab},") !== false ? $this->app->tab : 'doc'; if($type == 'mine') $type = 'my'; - if($type == 'custom') $type = 'team'; if($tab == 'doc' and !common::hasPriv('doc', $type . 'Space')) return print(js::locate(helper::createLink('user', 'deny', "module=doc&method={$type}Space"))); if($tab != 'doc' and method_exists($type . 'Model', 'setMenu')) {