diff options
author | Brice Maron <brice@bmaron.net> | 2012-12-04 19:34:24 +0000 |
---|---|---|
committer | Brice Maron <brice@bmaron.net> | 2012-12-04 19:34:24 +0000 |
commit | 4df61c3e45b6dabb83e90f71d876ed020a0d9be6 (patch) | |
tree | 625383fd066541ab39efa62bca063e0b8f23552d /core/setup.php | |
parent | e6ec0e8a5e35b94dee83bdd53302d76a6f4e92fa (diff) | |
download | nextcloud-server-4df61c3e45b6dabb83e90f71d876ed020a0d9be6.tar.gz nextcloud-server-4df61c3e45b6dabb83e90f71d876ed020a0d9be6.zip |
Simplify has sqlite test
Diffstat (limited to 'core/setup.php')
-rw-r--r-- | core/setup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/setup.php b/core/setup.php index 9e15f205c00..66b8cf378bd 100644 --- a/core/setup.php +++ b/core/setup.php @@ -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'); |