From 0c5a94de83f817f8a9cce2688bb1a3a9c22c1634 Mon Sep 17 00:00:00 2001
From: martin <martin@siarp.de>
Date: Mon, 8 Feb 2010 17:13:01 +0100
Subject: [PATCH] fix compatibility functions

---
 nice_menus.module |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/nice_menus.module b/nice_menus.module
index 3178f7e..a536488 100644
--- a/nice_menus.module
+++ b/nice_menus.module
@@ -520,21 +520,21 @@ function theme_nice_menus_secondary_links($direction = 'down', $depth = -1, $men
  * DEPRECATED theme function. Please switch to theme_nice_menus_tree().
  */
 function theme_nice_menu_tree($menu_name, $mlid = NULL, $depth = -1, $menu = NULL) {
-  return theme('nice_menus_tree', $menu_name, $mlid = NULL, $depth = -1, $menu = NULL);
+  return theme('nice_menus_tree', $menu_name, $mlid, $depth, $menu);
 }
 
 /**
  * DEPRECATED theme function. Please switch to theme_nice_menus_build().
  */
 function theme_nice_menu_build($menu, $depth = -1, $trail = NULL) {
-  return theme('nice_menus_build', $menu, $depth = -1, $trail = NULL);
+  return theme('nice_menus_build', $menu, $depth, $trail);
 }
 
 /**
  * DEPRECATED theme function. Please switch to theme_nice_menus().
  */
 function theme_nice_menu($id, $menu_name, $mlid, $direction = 'right', $depth = -1, $menu = NULL) {
-  return theme('nice_menus', $id, $menu_name, $mlid, $direction = 'right', $depth = -1, $menu = NULL);
+  return theme('nice_menus', $id, $menu_name, $mlid, $direction, $depth, $menu);
 }
 
 /**
@@ -542,5 +542,5 @@ function theme_nice_menu($id, $menu_name, $mlid, $direction = 'right', $depth =
  * theme_nice_menus_primary_links().
  */
 function theme_nice_menu_primary_links($direction = 'down', $depth = -1, $menu = NULL) {
-  return theme('nice_menus_primary_links', $direction = 'down', $depth = -1, $menu = NULL);
+  return theme('nice_menus_primary_links', $direction, $depth, $menu);
 }
-- 
1.6.6

