Simplify has sqlite test

This commit is contained in:
Brice Maron 2012-12-04 19:34:24 +00:00
parent e6ec0e8a5e
commit 4df61c3e45
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ if( file_exists( $autosetup_file )) {
OC_Util::addScript('setup');
$hasSQLite = (is_callable('sqlite_open') and class_exists('SQLite3'));
$hasSQLite = class_exists('SQLite3');
$hasMySQL = is_callable('mysql_connect');
$hasPostgreSQL = is_callable('pg_connect');
$hasOracle = is_callable('oci_connect');