Browse Source

Removed re-declaration of $preload from Application

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
d5fd2bfe98
  1. 4
      framework/yii/base/Application.php
  2. 2
      framework/yii/base/Module.php

4
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;

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

Loading…
Cancel
Save