mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-16 08:06:08 +10:00
rollback to yaml
This commit is contained in:
@@ -105,14 +105,6 @@ class Event < ActiveRecord::Base
|
||||
delegate :name, :email, :to => :author, :prefix => true, :allow_nil => true
|
||||
delegate :title, :to => :issue, :prefix => true, :allow_nil => true
|
||||
delegate :title, :to => :merge_request, :prefix => true, :allow_nil => true
|
||||
|
||||
def load obj
|
||||
Marshal.load obj
|
||||
end
|
||||
|
||||
def dump obj
|
||||
Marshal.dump obj
|
||||
end
|
||||
end
|
||||
# == Schema Information
|
||||
#
|
||||
|
||||
@@ -144,14 +144,6 @@ class MergeRequest < ActiveRecord::Base
|
||||
:author_id => user_id
|
||||
)
|
||||
end
|
||||
|
||||
def load obj
|
||||
Marshal.load obj
|
||||
end
|
||||
|
||||
def dump obj
|
||||
Marshal.dump obj
|
||||
end
|
||||
end
|
||||
# == Schema Information
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user