From d5fd2bfe981cbfe184eaf690e719b1a82395525c Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Wed, 23 Oct 2013 20:11:04 +0400 Subject: [PATCH] Removed re-declaration of $preload from Application --- framework/yii/base/Application.php | 4 ---- framework/yii/base/Module.php | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/framework/yii/base/Application.php b/framework/yii/base/Application.php index 27dc37d794..49b52d9dc3 100644 --- a/framework/yii/base/Application.php +++ b/framework/yii/base/Application.php @@ -84,10 +84,6 @@ abstract class Application extends Module * @see language */ public $sourceLanguage = 'en_US'; - /** - * @var array IDs of the components that need to be loaded when the application starts. - */ - public $preload = []; /** * @var Controller the currently active controller instance */ diff --git a/framework/yii/base/Module.php b/framework/yii/base/Module.php index fefdf1dfee..4bc5351576 100644 --- a/framework/yii/base/Module.php +++ b/framework/yii/base/Module.php @@ -41,7 +41,7 @@ abstract class Module extends Component */ public $params = []; /** - * @var array the IDs of the components or modules that should be preloaded when this module is created. + * @var array the IDs of the components or modules that should be preloaded right after initialization. */ public $preload = []; /**