Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing redundant code

  • Loading branch information...
commit 3082601e263efc722f49d23a51adf4b33e50194f 1 parent c17824d
Matt Payne authored
Showing with 0 additions and 12 deletions.
  1. +0 −12 lib/rdefensio.rb
View
12 lib/rdefensio.rb
@@ -60,13 +60,6 @@ def announce_article(article_hash)
ParamValidator.required_params_present?(article_hash, REQUIRED_ARTICLE_PARAMS)
return post_to_defensio("announce-article", { "owner-url" => owner_url }.merge(article_hash))
end
-
- def announce_article(article_author, article_author_email, article_title,
- article_content, permalink)
- return announce_article({"article-author" => article_author,
- "article-author-email" => article_author_email, "artitle-title" => article_title,
- "article-content" => article_content, "permalink" => permalink})
- end
def audit_comment(comment_hash)
comment_hash = ParamCleanser.cleanup!(comment_hash,
@@ -78,11 +71,6 @@ def audit_comment(comment_hash)
return post_to_defensio("audit-comment", { "owner-url" => owner_url }.merge(comment_hash))
end
- def audit_comment(user_ip, article_date, comment_author, comment_type, optional_params={})
- return audit_comment({"user-ip" => user_ip, "article-date" => article_date,
- "comment-author" => comment_author, "comment-type" => comment_type}.merge(optional_params))
- end
-
def report_false_negatives(*signatures)
return post_to_defensio("report-false-negatives", {"owner-url" => owner_url,
"signatures" => signatures.join(",")})
Please sign in to comment.
Something went wrong with that request. Please try again.