Preserve the old values to be used in values comparison

This commit is contained in:
Hadi Nategh
2018-08-22 12:26:56 +02:00
parent 030eb89f84
commit 886bc915cf
2 changed files with 31 additions and 6 deletions

View File

@ -46,4 +46,14 @@ class admin_cmd_edit_preferences extends admin_cmd
$GLOBALS['egw']->preferences->save_repository(True, $this->type);
return lang('Preferences saved.');
}
/**
* Return a title / string representation for a given command, eg. to display it
*
* @return string
*/
function __tostring()
{
return lang('Preferences of user %1 changed by %2', $this->data['account'], $this->requested_email);
}
}