Removed not needed method. Scheduler jobs exists for execution.

This commit is contained in:
Martin Edenhofer 2013-12-08 21:32:27 +01:00
parent cf76971666
commit b2adc3cf57

View file

@ -209,11 +209,6 @@ class SessionsController < ApplicationController
} }
end end
def delete_old
SessionHelper::cleanup_expired
render :json => {}
end
def delete def delete
return if deny_if_not_role('Admin') return if deny_if_not_role('Admin')
SessionHelper::destroy( params[:id] ) SessionHelper::destroy( params[:id] )