From f68d71ba6ab571491213e72e43c2c6923d5a79cb Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 29 Oct 2005 06:02:08 +0000 Subject: [PATCH] * (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. --- RELEASE-NOTES | 1 + includes/Title.php | 1 + 2 files changed, 2 insertions(+) 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; } -- 2.20.1