<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -39,20 +39,7 @@ module StrokeDB
     def save!(doc)
       next_timestamp!
       storage.save!(doc, timestamp)
-      
       update_views!(doc)
-      
-      # TODO: remove this shit 
-      if @index_store
-        if doc.previous_version
-          raw_pdoc = find(doc.uuid,doc.previous_version,:no_instantiation =&gt; true)
-          pdoc = Document.from_raw(self,raw_pdoc.freeze,:skip_callbacks =&gt; true)
-          pdoc.extend(VersionedDocument)
-          @index_store.delete(pdoc)
-        end
-        @index_store.insert(doc)
-        @index_store.save!
-      end
     end  
 
     def save_as_head!(doc)</diff>
      <filename>lib/strokedb/store.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>spec/integration/search_spec.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>65067ffe17c5e1af76a22912a5878d827a070b58</id>
    </parent>
  </parents>
  <author>
    <name>Oleg Andreev</name>
    <email>oleganza@idbns.com</email>
  </author>
  <url>http://github.com/yrashk/strokedb/commit/518bb24eddf65171ba114cb02affa836077e16fc</url>
  <id>518bb24eddf65171ba114cb02affa836077e16fc</id>
  <committed-date>2008-06-08T10:51:34-07:00</committed-date>
  <authored-date>2008-06-08T10:51:34-07:00</authored-date>
  <message>removed obsolete code &amp; spec</message>
  <tree>16f9065e9350770a22e2a57e7132443307dca3e8</tree>
  <committer>
    <name>Oleg Andreev</name>
    <email>oleganza@idbns.com</email>
  </committer>
</commit>
