Annoying debug messages that were just meant to remind

This commit is contained in:
Mikael Nordfeldth 2015-09-09 17:48:06 +02:00
parent 52de57e2f6
commit 404d5781fc

View File

@ -796,7 +796,6 @@ class ApiAction extends Action
if (is_array($notice)) { if (is_array($notice)) {
//FIXME: make everything calling showJsonTimeline use only Notice objects //FIXME: make everything calling showJsonTimeline use only Notice objects
common_debug('ArrayWrapper avoidance in progress! Beep boop, make showJsonTimeline only receive Notice objects!');
$ids = array(); $ids = array();
foreach ($notice as $n) { foreach ($notice as $n) {
$ids[] = $n->getID(); $ids[] = $n->getID();
@ -858,7 +857,6 @@ class ApiAction extends Action
if (is_array($notice)) { if (is_array($notice)) {
//FIXME: make everything calling showJsonTimeline use only Notice objects //FIXME: make everything calling showJsonTimeline use only Notice objects
common_debug('ArrayWrapper avoidance in progress! Beep boop, make showJsonTimeline only receive Notice objects!');
$ids = array(); $ids = array();
foreach ($notice as $n) { foreach ($notice as $n) {
$ids[] = $n->getID(); $ids[] = $n->getID();
@ -908,7 +906,6 @@ class ApiAction extends Action
if (is_array($notice)) { if (is_array($notice)) {
//FIXME: make everything calling showJsonTimeline use only Notice objects //FIXME: make everything calling showJsonTimeline use only Notice objects
common_debug('ArrayWrapper avoidance in progress! Beep boop, make showJsonTimeline only receive Notice objects!');
$ids = array(); $ids = array();
foreach ($notice as $n) { foreach ($notice as $n) {
$ids[] = $n->getID(); $ids[] = $n->getID();
@ -1018,7 +1015,6 @@ class ApiAction extends Action
if (is_array($notice)) { if (is_array($notice)) {
//FIXME: make everything calling showJsonTimeline use only Notice objects //FIXME: make everything calling showJsonTimeline use only Notice objects
common_debug('ArrayWrapper avoidance in progress! Beep boop, make showJsonTimeline only receive Notice objects!');
$ids = array(); $ids = array();
foreach ($notice as $n) { foreach ($notice as $n) {
$ids[] = $n->getID(); $ids[] = $n->getID();