SuggestController: suggest all commands for import

...not just templates
This commit is contained in:
Thomas Gelf 2017-08-21 21:01:24 +02:00
parent b55541097e
commit b930b70966
1 changed files with 1 additions and 2 deletions

View File

@ -138,8 +138,7 @@ class SuggestController extends ActionController
$db = $this->db()->getDbAdapter();
$query = $db->select()
->from('icinga_command', 'object_name')
->order('object_name')
->where("object_type = 'template'");
->order('object_name');
return $db->fetchCol($query);
}