From 0ab7041341e1b257a054576acba28cb12e7c9686 Mon Sep 17 00:00:00 2001 From: thomaschen <99703040@nccu.edu.tw> Date: Fri, 13 Dec 2013 15:41:55 +0800 Subject: [PATCH] delete useless variable in link widget controller --- .../panel/web_resource/widget/web_links_controller.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb b/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb index 481561c8..358ab9c4 100644 --- a/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb +++ b/vendor/built_in_modules/web_resource/app/controllers/panel/web_resource/widget/web_links_controller.rb @@ -27,10 +27,6 @@ class Panel::WebResource::Widget::WebLinksController < OrbitWidgetController @widget_style = @part.widget_style - @category_id = @part.category - - date_now = Time.now - if !params[:category_id].blank? @web_link_categorys = @module_app.categories.enabled.any_in(:_id => params[:category_id]) else @@ -63,7 +59,7 @@ class Panel::WebResource::Widget::WebLinksController < OrbitWidgetController end @web_link_datas << { "title" => wlcg.title, "web_links" => web_link_datas } if !@web_links.blank? - + end end