Changeset 1880

Show
Ignore:
Timestamp:
11/18/08 21:16:37 (2 months ago)
Author:
dbryson
Message:


Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • community_hive/trunk/community_hive_web/app/models/history_url.rb

    r1722 r1880  
    1919    unless url_obj.status == 'suspicious' 
    2020      if cnt > 1 
    21         logger.info("DID THE HISTORY CHECK") 
    2221        a = HistoryUrl.find(:all,:conditions => ["url = ? and status = ?",url_obj.url,"suspicious"]) 
    2322        result = a.size > 0 
     
    2726  end 
    2827   
     28  def self.by_job(job) 
     29    find(:all, :conditions => ["job_id = ?",job]) 
     30  end 
     31   
     32   
    2933    
    3034end