mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 20:34:50 +08:00
enforce coding convention
replaced every `and` by `&&` and every `or` by `||`
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
class Admin::ExportController < Admin::AdminController
|
||||
def create
|
||||
unless Export.is_export_running? or Import.is_import_running?
|
||||
unless Export.is_export_running? || Import.is_import_running?
|
||||
job_id = Jobs.enqueue( :exporter, user_id: current_user.id )
|
||||
render json: success_json.merge( job_id: job_id )
|
||||
else
|
||||
|
Reference in New Issue
Block a user