diff options
author | Andrey Andreev <narf@devilix.net> | 2014-02-26 17:41:59 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-02-26 17:41:59 +0100 |
commit | 382b51383c84fbb7f861fcd87b0b71b35c9f2869 (patch) | |
tree | 9aa8bf35189e3a7f4a8a6923bafba758d15aa90b /system/database/drivers/sqlite3/sqlite3_forge.php | |
parent | ea41c8aa1951216b6a9ccc99832d69d2b41c5ead (diff) |
Don't use error suppression on is_dir(), file_exists()
Diffstat (limited to 'system/database/drivers/sqlite3/sqlite3_forge.php')
-rw-r--r-- | system/database/drivers/sqlite3/sqlite3_forge.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/sqlite3/sqlite3_forge.php b/system/database/drivers/sqlite3/sqlite3_forge.php index 0eed05908..d79d15afd 100644 --- a/system/database/drivers/sqlite3/sqlite3_forge.php +++ b/system/database/drivers/sqlite3/sqlite3_forge.php @@ -93,7 +93,7 @@ class CI_DB_sqlite3_forge extends CI_DB_forge { public function drop_database($db_name = '') { // In SQLite, a database is dropped when we delete a file - if (@file_exists($this->db->database)) + if (file_exists($this->db->database)) { // We need to close the pseudo-connection first $this->db->close(); |