monitoring: Remove deprecated method ListController::applyRestriction()

This commit is contained in:
Eric Lippmann 2015-08-21 11:09:54 +02:00
parent 44271471e3
commit fc28088dc0
1 changed files with 0 additions and 18 deletions

View File

@ -24,24 +24,6 @@ class Monitoring_ListController extends Controller
$this->createTabs();
}
/**
* @deprecated DO NOT USE. THIS IS A HACK. This is removed once we fix the eventhistory action w/ filters.
*/
protected function applyFilter($query)
{
$params = clone $this->params;
$params->shift('format');
$params->shift('limit');
$params->shift('page');
$params->shift('view');
if ($sort = $params->shift('sort')) {
$query->order($sort, $params->shift('dir'));
}
$query->applyFilter(Filter::fromQuerystring((string) $params));
$this->handleFormatRequest($query);
return $query;
}
/**
* Overwrite the backend to use (used for testing)
*