fixed instanciation of t3lib_FlashMessage to put all the parameters in the constructo...
[Packages/TYPO3.CMS.git] / typo3 / sysext / em / classes / repository / class.tx_em_repository_utility.php
index 9b3dd12..bcbd2b0 100644 (file)
@@ -329,10 +329,11 @@ class tx_em_Repository_Utility implements t3lib_Singleton {
 
                if ($renderFlashMessage) {
                        /* @var $flashMessage t3lib_FlashMessage */
-                       $flashMessage = t3lib_div::makeInstance('t3lib_FlashMessage', '');
-                       $flashMessage->setTitle($GLOBALS['LANG']->getLL('ext_import_list_unchanged'));
-                       $flashMessage->setMessage($GLOBALS['LANG']->getLL('ext_import_list_unchanged_header'));
-                       $flashMessage->setSeverity(t3lib_FlashMessage::INFO);
+                       $flashMessage = t3lib_div::makeInstance('t3lib_FlashMessage',
+                               $GLOBALS['LANG']->getLL('ext_import_list_unchanged_header'),
+                               $GLOBALS['LANG']->getLL('ext_import_list_unchanged'),
+                               t3lib_FlashMessage::INFO
+                       );
                }
                $sumRecords = 0;