]> source.dussan.org Git - nextcloud-server.git/commitdiff
Simplify has sqlite test
authorBrice Maron <brice@bmaron.net>
Tue, 4 Dec 2012 19:34:24 +0000 (19:34 +0000)
committerBrice Maron <brice@bmaron.net>
Tue, 4 Dec 2012 19:34:24 +0000 (19:34 +0000)
core/setup.php

index 9e15f205c0087cdd47a32e4c4042897efb26d79d..66b8cf378bd18d28995ba4e8dc62046b4f053410 100644 (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');