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