We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 475a859 commit 076f44eCopy full SHA for 076f44e
apps/user_ldap/lib/Configuration.php
@@ -257,6 +257,7 @@ public function readConfiguration(): void {
257
*/
258
public function saveConfiguration(): void {
259
$cta = array_flip($this->getConfigTranslationArray());
260
+ $changed = false;
261
foreach ($this->unsavedChanges as $key) {
262
$value = $this->config[$key];
263
switch ($key) {
@@ -286,9 +287,12 @@ public function saveConfiguration(): void {
286
287
if (is_null($value)) {
288
$value = '';
289
}
290
+ $changed = true;
291
$this->saveValue($cta[$key], $value);
292
- $this->saveValue('_lastChange', (string)time());
293
+ if ($changed) {
294
+ $this->saveValue('_lastChange', (string)time());
295
+ }
296
$this->unsavedChanges = [];
297
298
0 commit comments