[TASK] Clean up DataMapper::convertClassNameToTableName
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Persistence / Generic / Mapper / DataMapper.php
index 6dc88bc..d884f74 100644 (file)
@@ -545,13 +545,8 @@ class DataMapper implements \TYPO3\CMS\Core\SingletonInterface {
         * @param string $className
         * @return string The selector name
         */
-       public function convertClassNameToTableName($className = NULL) {
-               if ($className !== NULL) {
-                       $tableName = $this->getDataMap($className)->getTableName();
-               } else {
-                       $tableName = strtolower($className);
-               }
-               return $tableName;
+       public function convertClassNameToTableName($className) {
+               return $this->getDataMap($className)->getTableName();
        }
 
        /**