From 77e8a76af342557f99dc4160f7527f599b3c31da Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 15 Dec 2011 10:43:31 +0000 Subject: [PATCH] Code cleanup. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8228 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/menu_manager.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/redmine/menu_manager.rb b/lib/redmine/menu_manager.rb index 10b7a8ef9..d3693d9ac 100644 --- a/lib/redmine/menu_manager.rb +++ b/lib/redmine/menu_manager.rb @@ -230,8 +230,6 @@ module Redmine @menu_items = items[menu] end - @@last_items_count = Hash.new {|h,k| h[k] = 0} - # Adds an item at the end of the menu. Available options: # * param: the parameter name that is used for the project id (default is :id) # * if: a Proc that is called before rendering the item, the item is displayed only if it returns true