Removing specification of error reporting in actions

This commit is contained in:
Antonin 2016-05-03 21:12:04 +02:00
parent a376e18a90
commit 8981ca9cee
2 changed files with 0 additions and 3 deletions

View File

@ -78,7 +78,6 @@ if (!$poll) {
$comments = $pollService->allCommentsByPollId($poll_id);
}
error_reporting(E_ALL & ~E_NOTICE);
$smarty->error_reporting = E_ALL & ~E_NOTICE;
$smarty->assign('comments', $comments);
$comments_html = $smarty->fetch('part/comments_list.tpl');

View File

@ -88,8 +88,6 @@ if (is_null($message)) {
$result = true;
}
error_reporting(E_ALL & ~E_NOTICE);
$smarty->error_reporting = E_ALL & ~E_NOTICE;
$response = array('result' => $result, 'message' => $message);