mirror of
https://github.com/friendica/friendica
synced 2024-11-18 04:23:41 +00:00
Remove superfluous indentation level in mod/poco
This commit is contained in:
parent
6774ee6691
commit
0c1e876ee0
1 changed files with 132 additions and 132 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue