r23948 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23947‎ | r23948 | r23949 >
Date:10:54, 10 July 2007
Author:robchurch
Status:old
Tags:
Comment:
(bug 10066) Missing default for $user argument on hook callback
Modified paths:
  • /trunk/extensions/Newuserlog/Newuserlog.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Newuserlog/Newuserlog.php
@@ -43,7 +43,7 @@
4444 $wgHooks['AddNewAccount'][] = 'wfNewuserlogHook';
4545 }
4646
47 -function wfNewuserlogHook( $user ) {
 47+function wfNewuserlogHook( $user = null ) {
4848 global $wgUser, $wgContLang, $wgVersion;
4949
5050 if( is_null( $user ) ) {

Status & tagging log