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 27dc37d..49b52d9 100644 --- a/framework/yii/base/Application.php +++ b/framework/yii/base/Application.php @@ -85,10 +85,6 @@ abstract class Application extends Module */ 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 */ public $controller; diff --git a/framework/yii/base/Module.php b/framework/yii/base/Module.php index fefdf1d..4bc5351 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 = []; /**