From: Brion Vibber Date: Sat, 29 Oct 2005 06:02:08 +0000 (+0000) Subject: * (bug 3667) Add missing global in page move code X-Git-Tag: 1.6.0~1276 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=f68d71ba6ab571491213e72e43c2c6923d5a79cb;p=lhc%2Fweb%2Fwiklou.git * (bug 3667) Add missing global in page move code Might or might not mollify PHP 4.1.2, but it's a correctness thing anyway. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 69b517fa9a..4087548f8e 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -191,6 +191,7 @@ fully support the editing toolbar, but was found to be too confusing. * (bug 3291) 'last' diff link for last history line when not at end * Avoid numerous redundant latest-revision lookups in history * Ability to set the table name for external storage servers +* (bug 3667) Add missing global in page move code === Caveats === diff --git a/includes/Title.php b/includes/Title.php index a6ae3cb18b..7160e75a89 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1609,6 +1609,7 @@ class Title { $u->doUpdate(); } + global $wgUser; wfRunHooks( 'TitleMoveComplete', array( &$this, &$nt, &$wgUser, $pageid, $redirid ) ); return true; }