[+BUGFIX] Extbase (Persistence): Removed testing code accidentally committed to trunk...
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Persistence / Storage / Typo3DbBackend.php
index 5802fad..6b1a803 100644 (file)
@@ -632,9 +632,6 @@ class Tx_Extbase_Persistence_Storage_Typo3DbBackend implements Tx_Extbase_Persis
                                $statement = substr($statement, 5);
                                $sql['additionalWhereClause'][] = $statement;
                        }
                                $statement = substr($statement, 5);
                                $sql['additionalWhereClause'][] = $statement;
                        }
-                       if(isset($GLOBALS['TCA'][$tableName]['ctrl']['languageField']) && $GLOBALS['TCA'][$tableName]['ctrl']['languageField'] != '') {
-                               $sql['additionalWhereClause'][] =  $GLOBALS['TCA'][$tableName]['ctrl']['languageField'] . ' IN (0,-1) ';
-                       }
                }
        }
 
                }
        }