try {
$tasks = $GLOBALS['registry']->tasks->listTasks(null, null, null, $vars->list, $vars->type == 'incomplete' ? 'future_incomplete' : $vars->type, true);
- } catch (Exception $e)
+ } catch (Exception $e) {
$GLOBALS['notification']->push($e, 'horde.error');
return false;
}
$GLOBALS['notification']->push(_("The requested task was not found."), 'horde.error');
return false;
}
- } catch (Exception $e)
+ } catch (Exception $e) {
$GLOBALS['notification']->push($e, 'horde.error');
return false;
}
try {
$GLOBALS['registry']->tasks->toggleCompletion($vars->id, $vars->list);
- } catch (Exception $e)
+ } catch (Exception $e) {
$GLOBALS['notification']->push($e, 'horde.error');
return false;
}