]> source.dussan.org Git - redmine.git/commitdiff
Code cleanup.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 15 Dec 2011 10:43:31 +0000 (10:43 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 15 Dec 2011 10:43:31 +0000 (10:43 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8228 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/menu_manager.rb

index 10b7a8ef9418eae9b73d94fa60aaeb122e7cc093..d3693d9ac8b6dc2a054875546af275e3d1f164af 100644 (file)
@@ -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