mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 06:14:25 +02:00
Db\DbQuery: do not expose applyFilterSql
This commit is contained in:
parent
5ea2f33efb
commit
b2a55f0998
@ -134,11 +134,11 @@ class DbQuery extends SimpleQuery
|
||||
return $select;
|
||||
}
|
||||
|
||||
public function applyFilterSql($query)
|
||||
protected function applyFilterSql($select)
|
||||
{
|
||||
$where = $this->renderFilter($this->filter);
|
||||
if ($where !== '') {
|
||||
$query->where($where);
|
||||
$select->where($where);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user