* renamed TcaMapper to ObjectRelationalMapper
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Persistence / TX_EXTMVC_Persistence_Session.php
index e85c38e..79c0900 100644 (file)
@@ -307,8 +307,8 @@ class TX_EXTMVC_Persistence_Session implements t3lib_singleton {
         * @author Karsten Dambekalns <karsten@typo3.org>
         */
        public function commit() {
-               $dataMapper = t3lib_div::makeInstance('TX_EXTMVC_Persistence_Mapper_TcaMapper'); // singleton;
-               $dataMapper->persistAll($this);
+               $dataMapper = t3lib_div::makeInstance('TX_EXTMVC_Persistence_Mapper_ObjectRelationalMapper'); // singleton;
+               $dataMapper->persistAll();
        }
                
 }