From b2adc3cf57e8ebe789a233f4eff0ce245c2f9ade Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 8 Dec 2013 21:32:27 +0100 Subject: [PATCH] Removed not needed method. Scheduler jobs exists for execution. --- app/controllers/sessions_controller.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index ad30ef2da..88a6272b4 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -209,11 +209,6 @@ class SessionsController < ApplicationController } end - def delete_old - SessionHelper::cleanup_expired - render :json => {} - end - def delete return if deny_if_not_role('Admin') SessionHelper::destroy( params[:id] )