From 23ffc1f4b5cb84987f81eaeaea6864b56f4b3cdd Mon Sep 17 00:00:00 2001 From: Gauthier PC portable 024 Date: Wed, 6 Oct 2021 14:33:01 +0200 Subject: [PATCH] FIX : useless function --- htdocs/hrm/class/job.class.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/htdocs/hrm/class/job.class.php b/htdocs/hrm/class/job.class.php index c317fc9f08b..4ff5ccbe303 100644 --- a/htdocs/hrm/class/job.class.php +++ b/htdocs/hrm/class/job.class.php @@ -638,22 +638,6 @@ class Job extends CommonObject return $TReturn; } - /** - * - * @return array of key [rowid] => ref - */ - public function getCombo() - { - global $db; - - $res = $db->query("SELECT rowid, ref FROM ".MAIN_DB_PREFIX.'hrm_job WHERE 1 ORDER BY ref'); - $Tab=array(); - while ($obj = $db->fetch_object($res)) { - $Tab[$obj->rowid] = $obj->ref; - } - - return $Tab; - } /** * Set draft status *