From 002ff4e73bae77d4186aec9920ebd8d433492218 Mon Sep 17 00:00:00 2001 From: Peter Rotich <peter@enhancesoft.com> Date: Wed, 14 Jan 2015 16:15:38 +0000 Subject: [PATCH] upgrader: Drop select related on staff lookup This is necessary because group table gets renamed as part of the upgrade. --- include/class.staff.php | 1 - 1 file changed, 1 deletion(-) diff --git a/include/class.staff.php b/include/class.staff.php index 165cce5bc..94dcc68ce 100644 --- a/include/class.staff.php +++ b/include/class.staff.php @@ -29,7 +29,6 @@ implements AuthenticatedUser { static $meta = array( 'table' => STAFF_TABLE, 'pk' => array('staff_id'), - 'select_related' => array('group'), 'joins' => array( 'dept' => array( 'constraint' => array('dept_id' => 'Dept.id'), -- GitLab