1
0
mirror of synced 2024-12-13 06:46:03 +03:00

Removed $aggressive param as it is not needed and was left there by mistake.

This commit is contained in:
Jonathan.Wage 2008-01-03 20:14:50 +00:00
parent fd3a821ad0
commit 02a57e4ceb

View File

@ -523,11 +523,9 @@ final class Doctrine
* Recursively load all models from a directory or array of directories
*
* @param string $directory Path to directory of models or array of directory paths
* @param bool $aggressive Bool true/false for whether to load models aggressively.
* If true it will require_once() all found .php files
* @return array $loadedModels
*/
public static function loadModels($directory, $agressive = true)
public static function loadModels($directory)
{
$loadedModels = array();