Pull from master

This commit is contained in:
San Wai Lwin
2018-06-19 11:02:09 +06:30
parent 555ff6e684
commit 8d1b15f119
3 changed files with 12 additions and 18 deletions

View File

@@ -261,7 +261,6 @@ class Origami::AddordersController < BaseOrigamiController
#Send to background job for processing
order = Order.find(order_id)
sidekiq = Lookup.find_by_lookup_type("sidekiq")
if ENV["SERVER_MODE"] != 'cloud'
cup_status = `#{"sudo service cups status"}`
print_status = check_cup_status(cup_status)