Browse Source

Renaming method

Jose Lorenzo Rodriguez 12 years ago
parent
commit
927ac686c1
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/ORM/EagerLoader.php
  2. 1 1
      src/ORM/Query.php

+ 1 - 1
src/ORM/EagerLoader.php

@@ -319,7 +319,7 @@ class EagerLoader {
  * @param Statement $statement The statement created after executing the $query
  * @return CallbackStatement $statement modified statement with extra loaders
  */
-	public function eagerLoad($query, $statement) {
+	public function loadExternal($query, $statement) {
 		if (!$this->_hasExternal($query->repository())) {
 			return $statement;
 		}

+ 1 - 1
src/ORM/Query.php

@@ -896,7 +896,7 @@ class Query extends DatabaseQuery {
  */
 	protected function _decorateStatement($statement) {
 		$statement = parent::_decorateStatement($statement);
-		return $this->eagerLoader()->eagerLoad($this, $statement);
+		return $this->eagerLoader()->loadExternal($this, $statement);
 	}
 
 /**