Removed dead code in work packages controller.

pull/1355/merge
Richard 10 years ago
parent b3976d16c4
commit 96c14046e0
  1. 8
      app/controllers/work_packages_controller.rb

@ -439,14 +439,6 @@ class WorkPackagesController < ApplicationController
private
def redirect_to_back_url_or_work_package(work_package)
if !params[:back_url].blank?
redirect_to(params[:back_url])
else
redirect_to(work_package_path(work_package))
end
end
def load_work_packages
sort_init(@query.sort_criteria.empty? ? [DEFAULT_SORT_ORDER] : @query.sort_criteria)
sort_update(@query.sortable_columns)

Loading…
Cancel
Save