indentation
This commit is contained in:
parent
12745b9309
commit
6c42cf73c7
@ -8,7 +8,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
class Pools extends SimpleExtension {
|
class Pools extends SimpleExtension {
|
||||||
|
|
||||||
public function onInitExt($event) {
|
public function onInitExt($event) {
|
||||||
global $config, $database;
|
global $config, $database;
|
||||||
|
|
||||||
@ -578,14 +577,14 @@ class Pools extends SimpleExtension {
|
|||||||
$images[] = array($image);
|
$images[] = array($image);
|
||||||
$result->MoveNext();
|
$result->MoveNext();
|
||||||
}
|
}
|
||||||
// Original code
|
// Original code
|
||||||
//
|
//
|
||||||
// $images = array();
|
// $images = array();
|
||||||
// while(!$result->EOF) {
|
// while(!$result->EOF) {
|
||||||
// $image = Image::by_id($result->fields["image_id"]);
|
// $image = Image::by_id($result->fields["image_id"]);
|
||||||
// $images[] = array($image);
|
// $images[] = array($image);
|
||||||
// $result->MoveNext();
|
// $result->MoveNext();
|
||||||
// }
|
// }
|
||||||
return $images;
|
return $images;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user