From 5d997c287db92eae4cfb400809cc38bcecddb1d8 Mon Sep 17 00:00:00 2001 From: Peter Rotich <peter@osticket.com> Date: Sun, 7 Dec 2014 21:39:34 +0000 Subject: [PATCH] orm: Improve Dept's use of ORM The commit also renames some fields in department table. --- include/class.dept.php | 1 - 1 file changed, 1 deletion(-) diff --git a/include/class.dept.php b/include/class.dept.php index bd77e48ec..e1ee486a3 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'); -- GitLab