mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
FileReader: Method count()
require no param
This commit is contained in:
parent
bdd50bd97d
commit
a7a94d5307
@ -129,7 +129,7 @@ class FileReader implements Selectable, Countable
|
||||
}
|
||||
$lines = array();
|
||||
if ($query->sortDesc()) {
|
||||
$count = $this->count($query);
|
||||
$count = $this->count();
|
||||
if ($count <= $skip) {
|
||||
return $lines;
|
||||
} elseif ($count < ($skip + $read)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user