Commit 02a57e4c authored by Jonathan.Wage's avatar Jonathan.Wage

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

parent fd3a821a
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment