mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +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;
|
return $select;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function applyFilterSql($query)
|
protected function applyFilterSql($select)
|
||||||
{
|
{
|
||||||
$where = $this->renderFilter($this->filter);
|
$where = $this->renderFilter($this->filter);
|
||||||
if ($where !== '') {
|
if ($where !== '') {
|
||||||
$query->where($where);
|
$select->where($where);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user