diff --git a/include/class.dept.php b/include/class.dept.php index bd77e48ec3ec973cfbc3d33211836006f00be127..e1ee486a3e1c095589e5c40043d0dd2ce5541feb 100644 --- a/include/class.dept.php +++ b/include/class.dept.php @@ -255,7 +255,6 @@ class Dept extends VerySimpleModel { if (!isset($this->_groupids)) { $this->_groupids = array(); - $groups = GroupDeptAccess::objects() ->filter(array('dept_id' => $this->getId())) ->values_flat('group_id');