From 80f15ee668ae559d3211b6db4b56441189050c80 Mon Sep 17 00:00:00 2001 From: gnat Date: Fri, 22 Jun 2007 17:37:32 +0000 Subject: [PATCH] undefined/uninitialized variable --- lib/Doctrine/Export/Sqlite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Export/Sqlite.php b/lib/Doctrine/Export/Sqlite.php index d70ab3ecf..daf2ce2e6 100644 --- a/lib/Doctrine/Export/Sqlite.php +++ b/lib/Doctrine/Export/Sqlite.php @@ -47,7 +47,7 @@ class Doctrine_Export_Sqlite extends Doctrine_Export if (!@file_exists($databaseFile)) { throw new Doctrine_Export_Exception('database does not exist'); } - $result = @unlink($database_file); + $result = @unlink($databaseFile); if ( ! $result) { throw new Doctrine_Export_Exception('could not remove the database file'); }