diff --git a/core/setup.php b/core/setup.php
index 7a5c6d5f3e041034ec6169cd7ef85d0e39ddb335..66b8cf378bd18d28995ba4e8dc62046b4f053410 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') or class_exists('SQLite3'));
+$hasSQLite = class_exists('SQLite3');
 $hasMySQL = is_callable('mysql_connect');
 $hasPostgreSQL = is_callable('pg_connect');
 $hasOracle = is_callable('oci_connect');