Index: typo3/sysext/setup/mod/locallang.xml
===================================================================
--- typo3/sysext/setup/mod/locallang.xml (revision 7181)
+++ typo3/sysext/setup/mod/locallang.xml (working copy)
@@ -107,6 +107,9 @@
+
+
+
Index: typo3/sysext/setup/mod/index.php
===================================================================
--- typo3/sysext/setup/mod/index.php (revision 7181)
+++ typo3/sysext/setup/mod/index.php (working copy)
@@ -115,6 +115,7 @@
protected $passwordIsUpdated = FALSE;
protected $passwordIsSubmitted = FALSE;
protected $setupIsUpdated = FALSE;
+ protected $tempDataIsCleared = FALSE;
/******************************
@@ -159,6 +160,7 @@
unset ($BE_USER->uc[$key]);
}
}
+ $this->tempDataIsCleared = TRUE;
} else {
// save all submitted values if they are no array (arrays are with table=be_users) and exists in $GLOBALS['TYPO3_USER_SETTINGS'][columns]
foreach($columns as $field => $config) {
@@ -185,6 +187,10 @@
$BE_USER->writelog(254, 1, 0, 1, 'Personal settings changed', array());
$this->setupIsUpdated = TRUE;
}
+ // If the temporary data has been cleared, lets make a log note about it
+ if ($this->tempDataIsCleared) {
+ $BE_USER->writelog(254, 1, 0, 1, $GLOBALS['LANG']->getLL('tempDataClearedLog'), array());
+ }
// Personal data for the users be_user-record (email, name, password...)
@@ -334,6 +340,15 @@
);
$this->content .= $flashMessage->render();
}
+ // Show if temporary data was cleared
+ if ($this->tempDataIsCleared) {
+ $flashMessage = t3lib_div::makeInstance(
+ 't3lib_FlashMessage',
+ $LANG->getLL('tempDataClearedFlashMessage'),
+ $LANG->getLL('tempDataCleared')
+ );
+ $this->content .= $flashMessage->render();
+ }
// If password is updated, output whether it failed or was OK.
if ($this->passwordIsSubmitted) {
if ($this->passwordIsUpdated) {