Use class_exists() with FALSE second argument

This commit is contained in:
Mark Baker
2012-09-06 22:56:56 +01:00
parent 9820b46649
commit f87ca1419d
6 changed files with 40 additions and 19 deletions
@@ -33,7 +33,7 @@
* @package PHPExcel_CachedObjectStorage
* @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
*/
class PHPExcel_CachedObjectStorage_CacheBase {
abstract class PHPExcel_CachedObjectStorage_CacheBase {
/**
* Parent worksheet
@@ -267,7 +267,7 @@ class PHPExcel_CachedObjectStorage_SQLite3 extends PHPExcel_CachedObjectStorage_
* @return boolean
*/
public static function cacheMethodIsAvailable() {
if (!class_exists('SQLite3')) {
if (!class_exists('SQLite3',FALSE)) {
return false;
}