summaryrefslogtreecommitdiff
path: root/installer/rcube_install.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-19 19:52:33 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-19 19:52:33 +0200
commit3bbe4e7424f12b4f870fb775b8230714a2862380 (patch)
tree925ee90ecc269ed5fad0426efed4e741ca3f3cd7 /installer/rcube_install.php
parentcd9e4154060ff38226e77eea82123519322b2327 (diff)
parentb200258d5af08ff24065d58c96d8ccf834d1ffad (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
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 c95d936d2..473fd2612 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -496,10 +496,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);