[+TASK] Extbase: Removed some obsolete comments.
authorJochen Rau <j.rau@web.de>
Wed, 20 Jan 2010 10:45:24 +0000 (10:45 +0000)
committerJochen Rau <j.rau@web.de>
Wed, 20 Jan 2010 10:45:24 +0000 (10:45 +0000)
typo3/sysext/extbase/Classes/Persistence/Backend.php
typo3/sysext/extbase/Classes/Persistence/Mapper/DataMap.php

index 2a8ac6a..19453ed 100644 (file)
@@ -693,7 +693,6 @@ class Tx_Extbase_Persistence_Backend implements Tx_Extbase_Persistence_BackendIn
                //      $row['tablenames'] = $childTableName;
                // }
                
-               // attempt to support MM_insert_fields
                $relationTableInsertFields = $columnMap->getRelationTableInsertFields();
                if (count($relationTableInsertFields)) {
                        foreach($relationTableInsertFields as $insertField => $insertValue) {
@@ -724,7 +723,6 @@ class Tx_Extbase_Persistence_Backend implements Tx_Extbase_Persistence_BackendIn
                        $columnMap->getParentKeyFieldName() => (int)$parentObject->getUid()
                );
 
-               // attempt to support MM_match_fields
                $relationTableMatchFields = $columnMap->getRelationTableMatchFields();
                if (count($relationTableMatchFields)) {
                        $relationMatchFields = array_merge($relationTableMatchFields,$relationMatchFields);
index 22cf0b9..bb81765 100644 (file)
@@ -272,7 +272,6 @@ class Tx_Extbase_Persistence_Mapper_DataMap {
         * @return void
         */
        protected function setManyToManyRelation(Tx_Extbase_Persistence_Mapper_ColumnMap &$columnMap, $columnConfiguration) {
-               // TODO support for MM_insert_fields and MM_match_fields
                // TODO support multi table relationships
                $columnMap->setTypeOfRelation(Tx_Extbase_Persistence_Mapper_ColumnMap::RELATION_HAS_AND_BELONGS_TO_MANY);
                if ($columnConfiguration['type'] === 'inline') {