mirror of
https://github.com/getgrav/grav.git
synced 2026-02-21 14:08:02 +01:00
removed some unused vars
This commit is contained in:
@@ -24,8 +24,6 @@ class Collection extends Iterator {
|
||||
private $repository;
|
||||
private $cache;
|
||||
|
||||
private $plugins, $themes;
|
||||
|
||||
public function __construct($repository = null)
|
||||
{
|
||||
if ($repository === null) {
|
||||
|
||||
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user