[+BUGFIX] Extbase (Persistence): Removed deprecated code. Resolves #6850.
authorJochen Rau <j.rau@web.de>
Tue, 30 Mar 2010 09:28:35 +0000 (09:28 +0000)
committerJochen Rau <j.rau@web.de>
Tue, 30 Mar 2010 09:28:35 +0000 (09:28 +0000)
typo3/sysext/extbase/Classes/Persistence/Repository.php

index 7bdd61b..a8f0cd3 100644 (file)
@@ -247,7 +247,7 @@ class Tx_Extbase_Persistence_Repository implements Tx_Extbase_Persistence_Reposi
                } else {
                        $query = $this->createQuery();
                        $query->getQuerySettings()->setRespectSysLanguage(FALSE);
-                       $result = $query->matching($query->withUid($uid))->execute();
+                       $result = $query->matching($query->equals('uid', $uid))->execute();
                        $object = NULL;
                        if (count($result) > 0) {
                                $object = current($result);