* put getDeptUserPairs method from group model to dept model.

This commit is contained in:
chenfeiCF
2016-03-13 08:02:35 +08:00
parent bf33b5f108
commit 6b055c87fe
3 changed files with 17 additions and 17 deletions

View File

@@ -235,7 +235,7 @@ class group extends control
}
$group = $this->group->getById($groupID);
$groupUsers = $this->group->getUserPairs($groupID);
$allUsers = $this->group->getDeptUserPairs($deptID);
$allUsers = $this->loadModel('dept')->getDeptUserPairs($deptID);
$otherUsers = array_diff_assoc($allUsers, $groupUsers);
$title = $this->lang->company->common . $this->lang->colon . $group->name . $this->lang->colon . $this->lang->group->manageMember;