mirror of
https://github.com/friendica/friendica
synced 2024-12-24 04:40:15 +00:00
Revert adding DBA::toArray to Item::selectToArray
This commit is contained in:
parent
3334a3d497
commit
50f3098495
1 changed files with 7 additions and 1 deletions
|
@ -386,7 +386,13 @@ class Item extends BaseObject
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
return DBA::toArray($result);
|
$data = [];
|
||||||
|
while ($row = self::fetch($result)) {
|
||||||
|
$data[] = $row;
|
||||||
|
}
|
||||||
|
DBA::close($result);
|
||||||
|
|
||||||
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue