Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
38 | protected function markOlderItemsWithoutAuthor() |
||
39 | { |
||
40 | $filter['"AuthorID" = ?'] = 0; |
||
|
|||
41 | $query = $this->getBaseQuery(['AuthorID']) |
||
42 | ->addWhere($this->normaliseWhere($filter)) |
||
43 | ->setLimit($this->normaliseLimit(), $this->normaliseOffset($this->keepVersions)) |
||
44 | ; |
||
45 | $this->toDelete[$this->getUniqueKey()] += $this->addVersionNumberToArray( |
||
46 | $this->toDelete[$this->getUniqueKey()], |
||
47 | $query->execute() |
||
48 | ); |
||
51 |