Fixes
This commit is contained in:
parent
dd1d3b3d6a
commit
f33f0a4512
6 changed files with 187 additions and 139 deletions
|
|
@ -25,15 +25,14 @@ class BuildMetaStore extends BuildMetaStoreBase
|
|||
* @param $limit
|
||||
* @return array
|
||||
*/
|
||||
public function getErrorsForUpgrade($start, $limit)
|
||||
public function getErrorsForUpgrade($limit)
|
||||
{
|
||||
$query = 'SELECT * FROM build_meta
|
||||
WHERE meta_key IN (\'phpmd-data\', \'phpcs-data\', \'phpdoccheck-data\')
|
||||
ORDER BY id ASC LIMIT :start, :limit';
|
||||
ORDER BY id ASC LIMIT :limit';
|
||||
|
||||
$stmt = Database::getConnection('read')->prepare($query);
|
||||
|
||||
$stmt->bindValue(':start', $start, \PDO::PARAM_INT);
|
||||
$stmt->bindValue(':limit', $limit, \PDO::PARAM_INT);
|
||||
|
||||
if ($stmt->execute()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue