From 36349a71b176bfe83a1be4656e0b56f65dd4e5bf Mon Sep 17 00:00:00 2001 From: Terranom674 Date: Thu, 20 Aug 2026 11:06:57 +0200 Subject: [PATCH] Remove takeover state from WebDAV reconcile --- runtime/reconcile-webdav.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/reconcile-webdav.php b/runtime/reconcile-webdav.php index a59637e..2ebfd7f 100644 --- a/runtime/reconcile-webdav.php +++ b/runtime/reconcile-webdav.php @@ -220,7 +220,7 @@ try $json = json_encode($config, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); if (!is_string($json)) fail_webdav_reconcile('WebDAV-Runtime-Konfiguration konnte nicht serialisiert werden.'); $escaped = $db->real_escape_string($json); - if (!$db->query("UPDATE `{$table}` SET enabled=1, takeover_state='active', config_json='{$escaped}' WHERE id={$id} AND adapter='remote' LIMIT 1")) + if (!$db->query("UPDATE `{$table}` SET enabled=1, config_json='{$escaped}' WHERE id={$id} AND adapter='remote' LIMIT 1")) { fail_webdav_reconcile('WebDAV-Runtime-Status konnte nicht gespeichert werden: '.$db->error); }