mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 17:10:43 -04:00
Update qbo.rb
This commit is contained in:
1 parent
443d6fc47c
commit
3e85216e66
1 file changed
+4
@@ -51,4 +51,8 @@ class Qbo < ActiveRecord::Base
|
|||||||
qbo.last_sync = DateTime.now
|
qbo.last_sync = DateTime.now
|
||||||
qbo.save
|
qbo.save
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def self.last_sync
|
||||||
|
format_time(Qbo.first.last_sync)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
Reference in new issue
Block a user