<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -42,7 +42,7 @@ module ConcurrentDraft::ModelExtensions
   def promote_draft!
     update_attributes(&quot;content&quot; =&gt; draft_content) if respond_to?(:content) &amp;&amp; respond_to?(:draft_content)
     update_attributes(&quot;draft_promotion_scheduled_at&quot; =&gt; nil, &quot;draft_promoted_at&quot; =&gt; Time.now) if respond_to?(:draft_promoted_at)
-    ResponseCache.instance.clear
+    Radiant::Cache.clear if defined?(Radiant::Cache)
   end
   
   def unpublish!
@@ -54,4 +54,4 @@ module ConcurrentDraft::ModelExtensions
     has_attribute?(&quot;published_at&quot;) &amp;&amp; has_attribute?(&quot;status_id&quot;)
   end
   
-end
\ No newline at end of file
+end</diff>
      <filename>lib/concurrent_draft/model_extensions.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c81a336ebbbd5771f1dde61e25a3f498f6be3126</id>
    </parent>
  </parents>
  <author>
    <name>Victor Bogado</name>
    <email>victor@bogado.net</email>
  </author>
  <url>http://github.com/avonderluft/radiant-concurrent_draft-extension/commit/abb937553f3eb0bcd4d7a4629ae1be5a281b9a85</url>
  <id>abb937553f3eb0bcd4d7a4629ae1be5a281b9a85</id>
  <committed-date>2009-09-30T07:07:12-07:00</committed-date>
  <authored-date>2009-09-30T07:07:12-07:00</authored-date>
  <message>Uses modern cache system.</message>
  <tree>8604f7086713adda99ffab9e71eaa0da2591dba9</tree>
  <committer>
    <name>Victor Bogado</name>
    <email>victor@bogado.net</email>
  </committer>
</commit>
