5.0 compat

This commit is contained in:
Nicola Galgano 2023-08-03 12:11:29 +02:00 committed by GitHub
parent 54b787fe42
commit 87b28bb73c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -37,9 +37,9 @@ class ResetController extends AbstractController
{
$hasErrors = false;
$pullModel = new PullModel(null, Factory::getDbo());
$pullsModel = new PullsModel($this->context, null, Factory::getDbo());
$testsModel = new TestsModel(null, Factory::getDbo());
$pullModel = new PullModel(null);
$pullsModel = new PullsModel($this->context, null);
$testsModel = new TestsModel(null);
// Check the applied patches in the database first
$appliedPatches = $testsModel->getAppliedPatches();