GroupController: Remove redundant error handling

refs #8826
This commit is contained in:
Johannes Meyer 2015-05-27 08:53:13 +02:00
parent 02afa9fd55
commit e0f0fbf1cc
2 changed files with 2 additions and 13 deletions

View File

@ -64,17 +64,11 @@ class GroupController extends AuthBackendController
$query->applyFilter($filterEditor->getFilter());
$this->setupFilterControl($filterEditor);
try {
$this->setupPaginationControl($query);
$this->view->groups = $query;
} catch (Exception $e) {
Notification::error($e->getMessage());
Logger::error($e);
}
$this->view->groups = $query;
$this->view->backend = $backend;
$this->createListTabs()->activate('group/list');
$this->setupPaginationControl($query);
$this->setupLimitControl();
$this->setupSortControl(
array(

View File

@ -26,11 +26,6 @@ if ($backend === null) {
$reducible = $backend instanceof Reducible;
}
if (! isset($groups)) {
echo $this->translate('Failed to fetch any groups') . '</div>';
return;
}
if (count($groups) > 0): ?>
<table data-base-target="_next" class="action group-list">
<thead>