From fd6b193c6e072339b5012945aae8b6aa2c0f95b7 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Wed, 17 Jul 2013 15:38:00 -0400
Subject: [PATCH] Fix codestyle and indentation; use new save function in update script

---
 bin/update.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bin/update.sh b/bin/update.sh
index 71e2c63..8bfb9d6 100755
--- a/bin/update.sh
+++ b/bin/update.sh
@@ -101,7 +101,7 @@
         if (!$error) {
           $RCI->merge_config();
           echo ". writing " . RCMAIL_CONFIG_DIR . "/config.inc.php...\n";
-          $written = file_put_contents(RCMAIL_CONFIG_DIR . '/config.inc.php', $RCI->create_config());
+          $written = $RCI->save_configfile($RCI->create_config());
         }
 
         // Success!

--
Gitblit v1.9.1