<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -34,8 +34,7 @@ class GalleryExtension &lt; Radiant::Extension
     #end
   end
   
-  def activate    
-    init_attachment_fu
+  def activate
     init
     tab_options = {:visibility =&gt; [:all]}
     Radiant::Config[&quot;gallery.gallery_based&quot;] == 'true' ? tab_options[:before] = &quot;Pages&quot; : tab_options[:after] = &quot;Layouts&quot;
@@ -45,20 +44,7 @@ class GalleryExtension &lt; Radiant::Extension
   
   def deactivate
     admin.tabs.remove &quot;Galleries&quot;
-  end
-  
-  def init_attachment_fu
-    Tempfile.class_eval do
-      # overwrite so tempfiles use the extension of the basename.  important for rmagick and image science
-      def make_tmpname(basename, n)
-        ext = nil
-        sprintf(&quot;%s%d-%d%s&quot;, basename.to_s.gsub(/\.\w+$/) { |s| ext = s; '' }, $$, n, ext)
-      end
-    end            
-    ActiveRecord::Base.send(:extend, Technoweenie::AttachmentFu::ActMethods)
-    Technoweenie::AttachmentFu.tempfile_path = ATTACHMENT_FU_TEMPFILE_PATH if Object.const_defined?(:ATTACHMENT_FU_TEMPFILE_PATH)
-    FileUtils.mkdir_p Technoweenie::AttachmentFu.tempfile_path
-  end    
+  end        
   
   def init
     Page.send(:include, PageExtensionsForGallery, GalleryTags, GalleryItemTags, GalleryItemInfoTags, GalleryLightboxTags)</diff>
      <filename>gallery_extension.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1cff7113ab7f4eb5c1f6a87b4fe0328eaf6f03cf</id>
    </parent>
  </parents>
  <author>
    <name>Andrea Franz</name>
    <email>andrea@gravityblast.com</email>
  </author>
  <url>http://github.com/pilu/radiant-gallery/commit/4ca8c3c9f8889ca07a73b484c6054f2392602415</url>
  <id>4ca8c3c9f8889ca07a73b484c6054f2392602415</id>
  <committed-date>2008-11-28T17:54:59-08:00</committed-date>
  <authored-date>2008-11-28T17:54:59-08:00</authored-date>
  <message>removed attachment_fu initialization.</message>
  <tree>91d50db0646a009ad001d702785bbd3b1daba46e</tree>
  <committer>
    <name>Andrea Franz</name>
    <email>andrea@gravityblast.com</email>
  </committer>
</commit>
