summaryrefslogtreecommitdiffstats
path: root/library/Director/Web/Table/ObjectsTableApiUser.php
blob: 2287c2f1feaad98e25298d9ec0c3e27a85997c7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?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')");
    }
}