[+BUGFIX] Extbase (Persistence): Removed call to undefined method Tx_Extbase_Persiste...
authorJochen Rau <j.rau@web.de>
Tue, 15 Sep 2009 22:36:08 +0000 (22:36 +0000)
committerJochen Rau <j.rau@web.de>
Tue, 15 Sep 2009 22:36:08 +0000 (22:36 +0000)
typo3/sysext/extbase/Classes/Persistence/Query.php

index 7752a76..a0e7f6e 100644 (file)
@@ -440,9 +440,6 @@ class Tx_Extbase_Persistence_Query implements Tx_Extbase_Persistence_QueryInterf
         * @return Tx_Extbase_Persistence_QOM_ComparisonInterface
         */
        public function lessThanOrEqual($propertyName, $operand) {
-               if ($this->source instanceof Tx_Extbase_Persistence_QOM_SelectorInterface) {
-                       $sourceSelectorName = $this->getSource()->getSelectorName();
-               }
                $uniqueVariableName = uniqid($propertyName);
                $this->operands[$uniqueVariableName] = $operand;
                return $this->QOMFactory->comparison(