mirror of
https://framagit.org/framasoft/framadate/framadate
synced 2026-08-03 23:02:12 +00:00
Removing specification of error reporting in actions
This commit is contained in:
parent
a376e18a90
commit
8981ca9cee
2 changed files with 0 additions and 3 deletions
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue