<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -357,7 +357,7 @@ module Fleximage
       # Delete the image file for this record. This is automatically ran after this record gets 
       # destroyed, but you can call it manually if you want to remove the image from the record.
       def delete_image_file
-        File.delete(file_path) if File.exists?(file_path)
+        File.delete(file_path) if (!self.class.db_store? &amp;&amp; File.exists?(file_path))
       end
       
       # Execute image presence and validity validations.
@@ -463,4 +463,4 @@ module Fleximage
     end
     
   end
-end
\ No newline at end of file
+end</diff>
      <filename>lib/fleximage/model.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b1055a2b1ca55dddd8cfde5993aa8f959390cee4</id>
    </parent>
  </parents>
  <author>
    <name>Jason Lee</name>
    <email>jlsync@gmail.com</email>
  </author>
  <url>http://github.com/Squeegy/fleximage/commit/8d801232e5482b9328f731d8350236eafb4e36f4</url>
  <id>8d801232e5482b9328f731d8350236eafb4e36f4</id>
  <committed-date>2008-05-24T16:44:34-07:00</committed-date>
  <authored-date>2008-05-24T16:44:34-07:00</authored-date>
  <message>Don't need to delete file after destory if using db_store (and trying to do so results in an error if image_directory wasn't set)</message>
  <tree>881d8ca6099104b96c9f4a2e7779665a909e3dae</tree>
  <committer>
    <name>Jason Lee</name>
    <email>jlsync@gmail.com</email>
  </committer>
</commit>
