Skip to content

Commit

Permalink
MongoMapper.time_class is gone, substituted Time
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Darnowsky committed Apr 5, 2010
1 parent f5afff4 commit 54d4091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/delayed/backend/mongo_mapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def self.after_fork
end

def self.db_time_now
::MongoMapper.time_class.now.utc
Time.now.utc
end

def self.find_available(worker_name, limit = 5, max_run_time = Worker.max_run_time)
Expand Down

0 comments on commit 54d4091

Please sign in to comment.