mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Update qbo.rb
This commit is contained in:
1 parent
0d6240c089
commit
5b6043a5de
1 file changed
+2
-1
+2
-1
@@ -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