From 4df61c3e45b6dabb83e90f71d876ed020a0d9be6 Mon Sep 17 00:00:00 2001 From: Brice Maron Date: Tue, 4 Dec 2012 19:34:24 +0000 Subject: [PATCH] Simplify has sqlite test --- core/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/setup.php b/core/setup.php index 9e15f205c0..66b8cf378b 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');