Remove superfluous indentation level in mod/poco
This commit is contained in:
@@ -204,7 +204,10 @@ function poco_init(App $a) {
|
||||
}
|
||||
}
|
||||
|
||||
if (is_array($contacts)) {
|
||||
if (!is_array($contacts)) {
|
||||
throw new \Friendica\Network\HTTPException\InternalServerErrorException();
|
||||
}
|
||||
|
||||
if (DBA::isResult($contacts)) {
|
||||
foreach ($contacts as $contact) {
|
||||
if (!isset($contact['updated'])) {
|
||||
@@ -338,9 +341,6 @@ function poco_init(App $a) {
|
||||
} else {
|
||||
$ret['entry'][] = [];
|
||||
}
|
||||
} else {
|
||||
throw new \Friendica\Network\HTTPException\InternalServerErrorException();
|
||||
}
|
||||
|
||||
Logger::log("End of poco", Logger::DEBUG);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user