summaryrefslogtreecommitdiff
path: root/installer/rcube_install.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-18 13:54:26 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-18 13:55:03 +0200
commit8b81c61396f0eba2fcebcba29eb6f569877becc9 (patch)
tree62fdc21edcf073a084677f8598cef2a166e47049 /installer/rcube_install.php
parentdd12eec622a0508bc579e2c839439ebde7bb423b (diff)
Fix so install do not fail when one of DB driver checks fails but other drivers exist (#1489178)
Diffstat (limited to 'installer/rcube_install.php')
-rw-r--r--installer/rcube_install.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index ce9ddfc46..43e6407a3 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -495,10 +495,13 @@ class rcube_install
* @param string Test name
* @param string Error message
* @param string URL for details
+ * @param bool Do not count this failure
*/
- function fail($name, $message = '', $url = '')
+ function fail($name, $message = '', $url = '', $optional=false)
{
- $this->failures++;
+ if (!$optional) {
+ $this->failures++;
+ }
echo Q($name) . ':&nbsp; <span class="fail">NOT OK</span>';
$this->_showhint($message, $url);