2021-09-23 07:32:35 +02:00

14 lines
314 B
PHP

<?php
namespace Icinga\Module\Director\Web\Table;
use Zend_Db_Select as ZfSelect;
class ObjectsTableApiUser extends ObjectsTable
{
protected function applyObjectTypeFilter(ZfSelect $query, ZfSelect $right = null)
{
return $query->where("o.object_type IN ('object', 'external_object')");
}
}