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 = []; /**