]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Remove php database extensions dependency from web requirements
authorMarcin Haba <marcin.haba@bacula.pl>
Sat, 18 May 2019 11:03:10 +0000 (13:03 +0200)
committerMarcin Haba <marcin.haba@bacula.pl>
Sat, 25 May 2019 13:04:16 +0000 (15:04 +0200)
gui/baculum/protected/Web/Pages/Requirements.php

index ac39a23294e07c3f4b039acd168652193caf7ccc..ec1ecfd4ad06fc29c48455a9440a61d759082d9b 100644 (file)
@@ -62,10 +62,6 @@ class Requirements {
                        $requirements[] = 'Please install <b>BCMath PHP module</b>.';
                }
 
-               if(!extension_loaded('pdo_pgsql') && !extension_loaded('pdo_mysql')) {
-                       $requirements[] = 'Please install <b>PDO (PHP Data Objects) PHP module for PostgreSQL or MySQL</b> depending on what database type you are using with Bacula.';
-               }
-
                if(!function_exists('mb_strlen')) {
                        $requirements[] = 'Please install <b>MB String PHP module</b> for support for multi-byte string handling to PHP.';
                }
@@ -85,7 +81,7 @@ class Requirements {
                                
                        }
                        echo '</ul>';
-                       echo 'For run Baculum <u>please correct above requirements</u> and refresh this page in web browser.';
+                       echo 'To run Baculum <u>please correct above requirements</u> and refresh this page in web browser.';
                        echo '</body></html>';
                        exit();
                }