From 62e5ea3bbde2ed5bb91478516efe91ef88ad0692 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Sat, 28 Feb 2015 14:14:20 -0700 Subject: [PATCH] removed some unused vars --- system/src/Grav/Common/GPM/Remote/Collection.php | 2 -- system/src/Grav/Common/Page/Page.php | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/system/src/Grav/Common/GPM/Remote/Collection.php b/system/src/Grav/Common/GPM/Remote/Collection.php index 0373c4534..484661222 100644 --- a/system/src/Grav/Common/GPM/Remote/Collection.php +++ b/system/src/Grav/Common/GPM/Remote/Collection.php @@ -24,8 +24,6 @@ class Collection extends Iterator { private $repository; private $cache; - private $plugins, $themes; - public function __construct($repository = null) { if ($repository === null) { diff --git a/system/src/Grav/Common/Page/Page.php b/system/src/Grav/Common/Page/Page.php index e9a0e3dbf..44a5665e2 100644 --- a/system/src/Grav/Common/Page/Page.php +++ b/system/src/Grav/Common/Page/Page.php @@ -90,10 +90,8 @@ class Page /** * Page Object Constructor - * - * @param array $array An array of existing page objects */ - public function __construct($array = array()) + public function __construct() { /** @var Config $config */ $config = self::getGrav()['config'];