Fix issue in offline admin

This commit is contained in:
Flavio Copes
2015-09-13 20:27:01 +02:00
parent 5867a9ebcc
commit be33876bc0

View File

@@ -414,6 +414,10 @@ class Admin
{
$gpm = $this->gpm();
if (!$gpm) {
return;
}
return $local ? $gpm->getInstalledPlugins() : $gpm->getRepositoryPlugins()->filter(function (
$package,
$slug
@@ -431,6 +435,10 @@ class Admin
{
$gpm = $this->gpm();
if (!$gpm) {
return;
}
return $local ? $gpm->getInstalledThemes() : $gpm->getRepositoryThemes()->filter(function ($package, $slug) use
(
$gpm