Revert r37490, 37493 for now -- 'NotifyOnPageChangeComplete hook added'

The hook seems a bit odd; it triggers on some of the composes, but not all. There's another loop right after this one.
Also, there's no need to pass objects as references here.
This commit is contained in:
Brion Vibber 2008-07-10 17:02:39 +00:00
parent 9cd2ca7ba9
commit bb3faf9d9b
2 changed files with 0 additions and 5 deletions

View file

@ -869,10 +869,6 @@ $baseID: the revision ID this was based off, if any
&$langCode: the language code to get the message for (string) - or -
whether to use the content language (true) or site language (false) (bool)
'NotifyOnPageChangeComplete': called after user email notification.
$EmailNotification: EmailNotification object being used
$watchingUser: user (object) to whom email was sent
'OpenSearchUrls': Called when constructing the OpenSearch description XML.
Hooks can alter or append to the array of URLs for search & suggestion formats.
&$urls: array of associative arrays with Url element attributes

View file

@ -383,7 +383,6 @@ class EmailNotification {
$watchingUser->isEmailConfirmed() )
{
$this->compose( $watchingUser );
wfRunHooks('NotifyOnPageChangeComplete', array( &$this, &$watchingUser ));
}
}
}