public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
Removed the Akismet compatibility shim from Site.
francois (author)
Mon Mar 03 04:30:56 -0800 2008
commit  4cadd52ca6ef9453a65399f844102b58ed07f06f
tree    192ae5927ce9496d151e4d7fd51060b3db1fec2c
parent  43497e54bcb0175d6f7c02b1da721a8dcc1e8b7d
...
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
...
102
103
104
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
106
107
0
@@ -102,26 +102,6 @@ class Site < ActiveRecord::Base
0
     klass_name.constantize.new(self)
0
   end
0
 
0
- # Compatibility shim until the Akismet engine is moved outside.
0
- def akismet_url #:nodoc:
0
- self.spam_engine_options[:akismet_url]
0
- end
0
-
0
- # Compatibility shim until the Akismet engine is moved outside.
0
- def akismet_url=(value) #:nodoc:
0
- self.spam_engine_options[:akismet_url] = value
0
- end
0
-
0
- # Compatibility shim until the Akismet engine is moved outside.
0
- def akismet_key #:nodoc:
0
- self.spam_engine_options[:akismet_key]
0
- end
0
-
0
- # Compatibility shim until the Akismet engine is moved outside.
0
- def akismet_key=(value) #:nodoc:
0
- self.spam_engine_options[:akismet_key] = value
0
- end
0
-
0
   def self.search_by_host_or_title(search_string)
0
     conditions = search_string.blank? ? nil : ["host LIKE ? OR title LIKE ?"] + ["%#{search_string}%"] * 2
0
     with_scope( :find => { :conditions => conditions } ) do

Comments

    No one has commented yet.