Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop

This commit is contained in:
Andy Miller
2015-09-14 09:39:50 -06:00
7 changed files with 491 additions and 2 deletions

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