- Remove unused function of bugModel-getFieldPairs.
This commit is contained in:
@@ -2058,25 +2058,6 @@ class bugModel extends model
|
||||
return $datas;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the file => label pairs of some fields.
|
||||
*
|
||||
* @param string $fields
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
public function getFieldPairs($fields)
|
||||
{
|
||||
$fields = explode(',', $fields);
|
||||
foreach($fields as $key => $field)
|
||||
{
|
||||
$field = trim($field);
|
||||
$fields[$field] = $this->lang->bug->$field;
|
||||
unset($fields[$key]);
|
||||
}
|
||||
return $fields;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get by Sonarqube id.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user