Index: typo3/sysext/setup/mod/index.php
===================================================================
--- typo3/sysext/setup/mod/index.php (revision 5527)
+++ typo3/sysext/setup/mod/index.php (working copy)
@@ -149,6 +149,12 @@
if ($d['setValuesToDefault']) {
// If every value should be default
$BE_USER->resetUC();
+ } elseif ($d['clearSessionVars']) {
+ foreach ($BE_USER->uc as $key => $value) {
+ if (!isset($columns[$key])) {
+ unset ($BE_USER->uc[$key]);
+ }
+ }
} 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) {
@@ -310,7 +316,8 @@
t3lib_BEfunc::cshItem('_MOD_user_setup', 'reset', $BACK_PATH) . '
- '
+
+ '
);
// Notice
Index: typo3/sysext/setup/mod/locallang.xml
===================================================================
--- typo3/sysext/setup/mod/locallang.xml (revision 5527)
+++ typo3/sysext/setup/mod/locallang.xml (working copy)
@@ -84,6 +84,7 @@
+