From 0947406343045dafba7fd75b4b4acf05a5be8c86 Mon Sep 17 00:00:00 2001 From: Nathan van der Werf Date: Wed, 15 Aug 2018 18:35:15 +0200 Subject: [PATCH] Remove senseless proxy functions --- modules/cms/classes/CmsObject.php | 11 ----------- modules/system/console/OctoberDown.php | 8 -------- modules/system/console/OctoberEnv.php | 8 -------- modules/system/console/OctoberFresh.php | 8 -------- modules/system/console/OctoberMirror.php | 8 -------- modules/system/console/OctoberUp.php | 8 -------- modules/system/console/OctoberUpdate.php | 8 -------- modules/system/console/OctoberUtil.php | 8 -------- modules/system/console/PluginInstall.php | 9 --------- modules/system/console/PluginRefresh.php | 9 --------- modules/system/console/PluginRemove.php | 9 --------- modules/system/console/ThemeInstall.php | 9 --------- modules/system/console/ThemeList.php | 8 -------- modules/system/console/ThemeRemove.php | 9 --------- modules/system/console/ThemeUse.php | 9 --------- 15 files changed, 129 deletions(-) diff --git a/modules/cms/classes/CmsObject.php b/modules/cms/classes/CmsObject.php index b8b0ee86d..483a10f1d 100644 --- a/modules/cms/classes/CmsObject.php +++ b/modules/cms/classes/CmsObject.php @@ -53,17 +53,6 @@ class CmsObject extends HalcyonModel implements CmsObjectContract */ protected $themeCache; - /** - * Create a new CMS object instance. - * - * @param array $attributes - * @return void - */ - public function __construct(array $attributes = []) - { - parent::__construct($attributes); - } - /** * The "booting" method of the model. * @return void diff --git a/modules/system/console/OctoberDown.php b/modules/system/console/OctoberDown.php index 81ffedbca..5f39fdba9 100644 --- a/modules/system/console/OctoberDown.php +++ b/modules/system/console/OctoberDown.php @@ -26,14 +26,6 @@ class OctoberDown extends Command */ protected $description = 'Destroys all database tables for October and all plugins.'; - /** - * Create a new command instance. - */ - public function __construct() - { - parent::__construct(); - } - /** * Execute the console command. */ diff --git a/modules/system/console/OctoberEnv.php b/modules/system/console/OctoberEnv.php index de8a50390..9bbfff34f 100644 --- a/modules/system/console/OctoberEnv.php +++ b/modules/system/console/OctoberEnv.php @@ -46,14 +46,6 @@ class OctoberEnv extends Command */ protected $connection; - /** - * Create a new command instance. - */ - public function __construct() - { - parent::__construct(); - } - /** * Execute the console command. */ diff --git a/modules/system/console/OctoberFresh.php b/modules/system/console/OctoberFresh.php index ec002164d..e87e5422d 100644 --- a/modules/system/console/OctoberFresh.php +++ b/modules/system/console/OctoberFresh.php @@ -27,14 +27,6 @@ class OctoberFresh extends Command */ protected $description = 'Removes the demo theme and plugin.'; - /** - * Create a new command instance. - */ - public function __construct() - { - parent::__construct(); - } - /** * Execute the console command. */ diff --git a/modules/system/console/OctoberMirror.php b/modules/system/console/OctoberMirror.php index 8154d21a9..a9f5220eb 100644 --- a/modules/system/console/OctoberMirror.php +++ b/modules/system/console/OctoberMirror.php @@ -73,14 +73,6 @@ class OctoberMirror extends Command protected $destinationPath; - /** - * Create a new command instance. - */ - public function __construct() - { - parent::__construct(); - } - /** * Execute the console command. */ diff --git a/modules/system/console/OctoberUp.php b/modules/system/console/OctoberUp.php index 87c4a156b..a599732b6 100644 --- a/modules/system/console/OctoberUp.php +++ b/modules/system/console/OctoberUp.php @@ -23,14 +23,6 @@ class OctoberUp extends Command */ protected $description = 'Builds database tables for October and all plugins.'; - /** - * Create a new command instance. - */ - public function __construct() - { - parent::__construct(); - } - /** * Execute the console command. */ diff --git a/modules/system/console/OctoberUpdate.php b/modules/system/console/OctoberUpdate.php index 9a17e33a1..ccfe1001b 100644 --- a/modules/system/console/OctoberUpdate.php +++ b/modules/system/console/OctoberUpdate.php @@ -29,14 +29,6 @@ class OctoberUpdate extends Command */ protected $description = 'Updates October CMS and all plugins, database and files.'; - /** - * Create a new command instance. - */ - public function __construct() - { - parent::__construct(); - } - /** * Execute the console command. */ diff --git a/modules/system/console/OctoberUtil.php b/modules/system/console/OctoberUtil.php index 3abc3d57d..c2ba6276a 100644 --- a/modules/system/console/OctoberUtil.php +++ b/modules/system/console/OctoberUtil.php @@ -46,14 +46,6 @@ class OctoberUtil extends Command */ protected $description = 'Utility commands for October'; - /** - * Create a new command instance. - */ - public function __construct() - { - parent::__construct(); - } - /** * Execute the console command. */ diff --git a/modules/system/console/PluginInstall.php b/modules/system/console/PluginInstall.php index a9e64d02c..4b7420a79 100644 --- a/modules/system/console/PluginInstall.php +++ b/modules/system/console/PluginInstall.php @@ -28,15 +28,6 @@ class PluginInstall extends Command */ protected $description = 'Install a plugin from the October marketplace.'; - /** - * Create a new command instance. - * @return void - */ - public function __construct() - { - parent::__construct(); - } - /** * Execute the console command. * @return void diff --git a/modules/system/console/PluginRefresh.php b/modules/system/console/PluginRefresh.php index 08132f3ef..b79be41ca 100644 --- a/modules/system/console/PluginRefresh.php +++ b/modules/system/console/PluginRefresh.php @@ -29,15 +29,6 @@ class PluginRefresh extends Command */ protected $description = 'Removes and re-adds an existing plugin.'; - /** - * Create a new command instance. - * @return void - */ - public function __construct() - { - parent::__construct(); - } - /** * Execute the console command. * @return void diff --git a/modules/system/console/PluginRemove.php b/modules/system/console/PluginRemove.php index bcef7caad..98d593bbd 100644 --- a/modules/system/console/PluginRemove.php +++ b/modules/system/console/PluginRemove.php @@ -33,15 +33,6 @@ class PluginRemove extends Command */ protected $description = 'Removes an existing plugin.'; - /** - * Create a new command instance. - * @return void - */ - public function __construct() - { - parent::__construct(); - } - /** * Execute the console command. * @return void diff --git a/modules/system/console/ThemeInstall.php b/modules/system/console/ThemeInstall.php index bc7bcc33e..2f47fb34c 100644 --- a/modules/system/console/ThemeInstall.php +++ b/modules/system/console/ThemeInstall.php @@ -30,15 +30,6 @@ class ThemeInstall extends Command */ protected $description = 'Install a theme from the October marketplace.'; - /** - * Create a new command instance. - * @return void - */ - public function __construct() - { - parent::__construct(); - } - /** * Execute the console command. * @return void diff --git a/modules/system/console/ThemeList.php b/modules/system/console/ThemeList.php index f8dfc8ca7..9547475c1 100644 --- a/modules/system/console/ThemeList.php +++ b/modules/system/console/ThemeList.php @@ -26,14 +26,6 @@ class ThemeList extends Command */ protected $description = 'List available themes.'; - /** - * Create a new command instance. - */ - public function __construct() - { - parent::__construct(); - } - /** * Execute the console command. */ diff --git a/modules/system/console/ThemeRemove.php b/modules/system/console/ThemeRemove.php index 10b49e02f..ec41631cc 100644 --- a/modules/system/console/ThemeRemove.php +++ b/modules/system/console/ThemeRemove.php @@ -32,15 +32,6 @@ class ThemeRemove extends Command */ protected $description = 'Delete an existing theme.'; - /** - * Create a new command instance. - * @return void - */ - public function __construct() - { - parent::__construct(); - } - /** * Execute the console command. * @return void diff --git a/modules/system/console/ThemeUse.php b/modules/system/console/ThemeUse.php index 9fef73247..1e1e224ec 100644 --- a/modules/system/console/ThemeUse.php +++ b/modules/system/console/ThemeUse.php @@ -29,15 +29,6 @@ class ThemeUse extends Command */ protected $description = 'Switch the active theme.'; - /** - * Create a new command instance. - * @return void - */ - public function __construct() - { - parent::__construct(); - } - /** * Execute the console command. * @return void