mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-01 10:56:08 +01:00
fixed GPM::Install()
This commit is contained in:
@@ -5,7 +5,7 @@ use Grav\Common\Cache;
|
||||
use Grav\Common\Config\Config;
|
||||
use Grav\Common\File\CompiledYamlFile;
|
||||
use Grav\Common\Filesystem\Folder;
|
||||
use Grav\Common\GPM\GPM;
|
||||
use Grav\Common\GPM\GPM as GravGPM;
|
||||
use Grav\Common\GPM\Installer;
|
||||
use Grav\Common\Grav;
|
||||
use Grav\Common\Data;
|
||||
@@ -807,7 +807,7 @@ class AdminController extends AdminBaseController
|
||||
}
|
||||
|
||||
try {
|
||||
$gpm = new GPM($flush);
|
||||
$gpm = new GravGPM($flush);
|
||||
|
||||
$resources_updates = $gpm->getUpdatable();
|
||||
if ($gpm->grav != null) {
|
||||
|
||||
Reference in New Issue
Block a user