From 54459cc01a126a921f2ee7bec1939764c75501a4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 2 May 2003 20:44:14 +0000 Subject: - Fixed the function prototypes of the newly introduced theme_user_list(), theme_node_list(), and theme_menu_list(). This will fix the excessive gap between lists and avoids generating empty constructs. --- modules/user/user.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/user/user.module') diff --git a/modules/user/user.module b/modules/user/user.module index 860c64f28..9d6241e8b 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -379,11 +379,11 @@ function user_block($op = "list", $delta = 0) { } } -function theme_user_list($items, $title = '') { +function theme_user_list($items, $title = NULL) { return theme("theme_item_list",$items, $title); } -function theme_menu_list($items, $title = '') { +function theme_menu_list($items, $title = NULL) { return theme("theme_item_list",$items, $title); } @@ -874,7 +874,7 @@ function user_delete() { global $edit, $user; if ($edit["confirm"]) { - watchdog(user,"$user->name deactivated her own account."); + watchdog("user","$user->name deactivated her own account."); db_query("UPDATE users SET mail = 'deleted', status = '0' WHERE uid = '%d'", $user->uid); $output .= t("Your account has been deactivated."); } -- cgit v1.2.3