summaryrefslogtreecommitdiffstats
path: root/lib/redmine/menu_manager.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-15 10:43:31 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-15 10:43:31 +0000
commit77e8a76af342557f99dc4160f7527f599b3c31da (patch)
treea1d0a17cba63ce0198fa4b8d93509296353495a9 /lib/redmine/menu_manager.rb
parentb6e6f557f01bebcd90e034e4b6cc5b755a95c006 (diff)
downloadredmine-77e8a76af342557f99dc4160f7527f599b3c31da.tar.gz
redmine-77e8a76af342557f99dc4160f7527f599b3c31da.zip
Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8228 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/menu_manager.rb')
-rw-r--r--lib/redmine/menu_manager.rb2
1 files changed, 0 insertions, 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