Commit 80f15ee6 authored by gnat's avatar gnat

undefined/uninitialized variable

parent 4ad0c504
...@@ -47,7 +47,7 @@ class Doctrine_Export_Sqlite extends Doctrine_Export ...@@ -47,7 +47,7 @@ class Doctrine_Export_Sqlite extends Doctrine_Export
if (!@file_exists($databaseFile)) { if (!@file_exists($databaseFile)) {
throw new Doctrine_Export_Exception('database does not exist'); throw new Doctrine_Export_Exception('database does not exist');
} }
$result = @unlink($database_file); $result = @unlink($databaseFile);
if ( ! $result) { if ( ! $result) {
throw new Doctrine_Export_Exception('could not remove the database file'); throw new Doctrine_Export_Exception('could not remove the database file');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment