From c41d4fb0ee6829160d1b1b294f24847a56c3fda0 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 10 Oct 2006 21:20:10 +0000 Subject: [PATCH] * (bug 6929) Restore AutoAuthenticate hook --- RELEASE-NOTES | 1 + includes/StubObject.php | 1 + 2 files changed, 2 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index bdd763688b..aa2f834e7e 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -284,6 +284,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 7367) Hyphens sometimes erroneously appended to equations when not converted to PNG * Add "title" to the opensearch link to allow automatic adding of the search engine in Firefox 2 * (bug 7537) Add php5 to $wgFileBlacklist +* (bug 6929) Restore AutoAuthenticate hook == Languages updated == diff --git a/includes/StubObject.php b/includes/StubObject.php index 6a50e018bc..ed3b117a50 100644 --- a/includes/StubObject.php +++ b/includes/StubObject.php @@ -121,6 +121,7 @@ class StubUser extends StubObject { $user->setLoaded( true ); } else { $user = User::loadFromSession(); + wfRunHooks('AutoAuthenticate',array($user)); } return $user; } -- 2.20.1