From be6ef859781e5165da8ae8adec71b28aa8ba60f6 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Thu, 10 Jan 2013 03:48:53 -0500
Subject: [PATCH] Mark mime_magic option with old default value as obsolete
---
installer/rcube_install.php | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index 2688bd7..6c6555f 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -251,7 +251,12 @@
$seen[$prop] = true;
}
}
-
+
+ // the old default mime_magic reference is obsolete
+ if ($this->config['mime_magic'] == '/usr/share/misc/magic') {
+ $out['obsolete'][] = array('prop' => 'mime_magic', 'explain' => "Set value to null in order to use system default");
+ }
+
// iterate over default config
foreach ($defaults as $prop => $value) {
if (!isset($seen[$prop]) && isset($required[$prop]) && !(is_bool($this->config[$prop]) || strlen($this->config[$prop])))
--
Gitblit v1.9.1