<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>app/views/admin/pages/_comments.rhtml</filename>
    </added>
    <added>
      <filename>app/views/admin/pages/_edit_comments_enabled.rhtml</filename>
    </added>
    <added>
      <filename>app/views/admin/pages/_index_head_view_comments.rhtml</filename>
    </added>
    <added>
      <filename>app/views/admin/pages/_index_view_comments.rhtml</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -44,20 +44,20 @@ class CommentsExtension &lt; Radiant::Extension
     end
     
     admin.tabs.add &quot;Comments&quot;, &quot;/admin/comments/unapproved&quot;, :visibility =&gt; [:all]
-
-    { 'notification' =&gt; 'false',
-      'notification_from' =&gt; '',
-      'notification_to' =&gt; '',
-      'notification_site_name' =&gt; '',
-      'notify_creator' =&gt; 'true',
-      'notify_updater' =&gt; 'false',
-      'akismet_key' =&gt; '',
-      'akismet_url' =&gt; '',
-      'mollom_privatekey' =&gt; '',
-      'mollom_publickey' =&gt; '',
-      'filters_enabled' =&gt; 'true',
-    }.each{|k,v| Radiant::Config.create(:key =&gt; &quot;comments.#{k}&quot;, :value =&gt; v) unless Radiant::Config[&quot;comments.#{k}&quot;]}
-    
+    if Radiant::Config.table_exists?
+      { 'notification' =&gt; 'false',
+        'notification_from' =&gt; '',
+        'notification_to' =&gt; '',
+        'notification_site_name' =&gt; '',
+        'notify_creator' =&gt; 'true',
+        'notify_updater' =&gt; 'false',
+        'akismet_key' =&gt; '',
+        'akismet_url' =&gt; '',
+        'mollom_privatekey' =&gt; '',
+        'mollom_publickey' =&gt; '',
+        'filters_enabled' =&gt; 'true',
+      }.each{|k,v| Radiant::Config.create(:key =&gt; &quot;comments.#{k}&quot;, :value =&gt; v) unless Radiant::Config[&quot;comments.#{k}&quot;]}
+    end
     require &quot;fastercsv&quot;
     
     ActiveRecord::Base.class_eval do</diff>
      <filename>comments_extension.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>app/views/admin/page/_comments.rhtml</filename>
    </removed>
    <removed>
      <filename>app/views/admin/page/_edit_comments_enabled.rhtml</filename>
    </removed>
    <removed>
      <filename>app/views/admin/page/_index_head_view_comments.rhtml</filename>
    </removed>
    <removed>
      <filename>app/views/admin/page/_index_view_comments.rhtml</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>4c4b8fdf35f781c8ab02f75b7f34a6abf99b2e88</id>
    </parent>
  </parents>
  <author>
    <name>Sean Cribbs</name>
    <email>seancribbs@gmail.com</email>
  </author>
  <url>http://github.com/franklouwers/radiant-comments/commit/782918fda1c2b3d5a659f1ea507aaa7c5cb2e410</url>
  <id>782918fda1c2b3d5a659f1ea507aaa7c5cb2e410</id>
  <committed-date>2009-01-07T12:16:04-08:00</committed-date>
  <authored-date>2009-01-07T12:16:04-08:00</authored-date>
  <message>Prevent bootstrap errors and update for 0.7.</message>
  <tree>8f564f9a2d80ce4abae9fd19932e3809c31593f2</tree>
  <committer>
    <name>Sean Cribbs</name>
    <email>seancribbs@gmail.com</email>
  </committer>
</commit>
