post replacement: increase grace period to 30 days.
This commit is contained in:
@@ -7,7 +7,7 @@ class Post < ActiveRecord::Base
|
||||
class RevertError < Exception ; end
|
||||
class SearchError < Exception ; end
|
||||
|
||||
DELETION_GRACE_PERIOD = 3.days
|
||||
DELETION_GRACE_PERIOD = 30.days
|
||||
|
||||
before_validation :initialize_uploader, :on => :create
|
||||
before_validation :merge_old_changes
|
||||
|
||||
Reference in New Issue
Block a user