You are here

radioactivity_comment.install in Radioactivity 5

Same filename and directory in other branches
  1. 6 plugins/radioactivity_comment.install

File

plugins/radioactivity_comment.install
View source
<?php

// Advanced node popularity install
function radioactivity_comment_install() {

  // no install actions required
}
function radioactivity_comment_uninstall() {
  if (db_table_exists('radioactivity')) {
    db_query("DELETE FROM {radioactivity} WHERE class='comment'");
  }
}