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