Browse Source

Applied rubocop Style/EmptyLines.

Martin Edenhofer 10 years ago
parent
commit
e474ac197a

+ 0 - 1
app/controllers/ical_tickets_controller.rb

@@ -139,7 +139,6 @@ class IcalTicketsController < ApplicationController
     events_data
   end
 
-
   def escalation_events_data_get
 
     condition = [

+ 0 - 2
app/controllers/import_otrs_controller.rb

@@ -5,7 +5,6 @@ class ImportOtrsController < ApplicationController
   def url_check
     return if setup_done_response
 
-
     # validate
     if !params[:url] ||params[:url] !~ /^(http|https):\/\/.+?$/
       render json: {
@@ -63,7 +62,6 @@ class ImportOtrsController < ApplicationController
       end
     }
 
-
     # return result
     render json: {
         result: 'invalid',

+ 0 - 1
app/controllers/long_polling_controller.rb

@@ -53,7 +53,6 @@ class LongPollingController < ApplicationController
       Sessions.send( client_id, { event: 'spool:sent', data: { timestamp: Time.now.utc.to_i } } )
     end
 
-
     # receive message
     if params['data']['action'] == 'login'
       user_id = session[:user_id]

+ 0 - 1
app/controllers/object_manager_attributes_controller.rb

@@ -3,7 +3,6 @@
 class ObjectManagerAttributesController < ApplicationController
   before_filter :authentication_check
 
-
   # GET /object_manager_attributes_list
   def list
     return if deny_if_not_role(Z_ROLENAME_ADMIN)

+ 0 - 2
app/controllers/tickets_controller.rb

@@ -112,7 +112,6 @@ class TicketsController < ApplicationController
     # get history of ticket
     history = ticket.history_get(true)
 
-
     # return result
     render json: history
   end
@@ -146,7 +145,6 @@ class TicketsController < ApplicationController
       assets = ticket.assets(assets)
     }
 
-
     ticket_ids_recent_viewed = []
     ticket_recent_view = RecentView.list( current_user, 8, 'Ticket' )
     ticket_recent_view.each {|item|

+ 0 - 2
app/models/application_model.rb

@@ -61,7 +61,6 @@ remove all not used model attributes of params
 
   result = Model.param_cleanup(params, true)
 
-
 returns
 
   result = params # params with valid attributes of model
@@ -796,7 +795,6 @@ class Model < ApplicationModel
   history_support
 end
 
-
 class Model < ApplicationModel
   history_support :ignore_attributes => { :article_count => true }
 end

+ 0 - 2
app/models/channel/facebook.rb

@@ -7,12 +7,10 @@ class Channel::Facebook
   #  def fetch(:oauth_token, :oauth_token_secret)
   def fetch
 
-
   end
 
   def disconnect
 
-
   end
 
   def send

+ 0 - 2
app/models/history.rb

@@ -121,7 +121,6 @@ returns
     { ... },
   ]
 
-
 return all history entries of an object and it's related history objects
 
   history_list = History.list( 'Ticket', 123, true )
@@ -135,7 +134,6 @@ returns
     { ... },
   ]
 
-
 return all history entries of an object and it's assets
 
   history = History.list( 'Ticket', 123, nil, true )

+ 0 - 1
app/models/object_manager.rb

@@ -125,7 +125,6 @@ add a new attribute entry for an object
     ObjectManager::Attribute.create(data)
   end
 
-
 =begin
 
 get the attribute model based on object and name

+ 0 - 1
app/models/observer/ticket/notification.rb

@@ -76,7 +76,6 @@ class Observer::Ticket::Notification < ActiveRecord::Observer
         # next if ticket is already deleted
         next if !ticket
 
-
         if !listObjects[ticket.id]
           listObjects[ticket.id] = {}
         end

Some files were not shown because too many files changed in this diff