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 8c0ec1dCopy full SHA for 8c0ec1d
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,13 @@ public function saveConfiguration(): void {
286
287
if (is_null($value)) {
288
$value = '';
289
}
290
+ $changed = true;
291
+ var_dump($key);
292
$this->saveValue($cta[$key], $value);
293
- $this->saveValue('_lastChange', (string)time());
294
+ if ($changed) {
295
+ $this->saveValue('_lastChange', (string)time());
296
+ }
297
$this->unsavedChanges = [];
298
299
0 commit comments