mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Update qbo.rb
This commit is contained in:
@@ -43,7 +43,8 @@ class Qbo < ActiveRecord::Base
|
|||||||
|
|
||||||
# Updates last sync time stamp
|
# Updates last sync time stamp
|
||||||
def self.update_time_stamp
|
def self.update_time_stamp
|
||||||
qbo = first.last_sync = DateTime.now
|
qbo = Qbo.first
|
||||||
|
qbo.last_sync = DateTime.now
|
||||||
qbo.save
|
qbo.save
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user