mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Removed extra end
This commit is contained in:
@@ -108,7 +108,7 @@ class QboController < ApplicationController
|
|||||||
|
|
||||||
#Check to see if we are deleting a record
|
#Check to see if we are deleting a record
|
||||||
if entity['operation'].eql? "Delete"
|
if entity['operation'].eql? "Delete"
|
||||||
obj.destroy(id)
|
obj.destroy(id)
|
||||||
#if not then update!
|
#if not then update!
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
@@ -121,10 +121,8 @@ class QboController < ApplicationController
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Record that last time we updated
|
# Record that last time we updated
|
||||||
Qbo.update_time_stamp
|
Qbo.update_time_stamp
|
||||||
|
|
||||||
end
|
|
||||||
ActiveRecord::Base.connection.close
|
ActiveRecord::Base.connection.close
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user