* Short circuit EmailNotification::notify() to not call EmailNotification::commonMess...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 17 Dec 2008 17:27:43 +0000 (17:27 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 17 Dec 2008 17:27:43 +0000 (17:27 +0000)
commita3cbeaeefdf048b67da26c53f59ac48cb3152bae
tree3e5f5613b8658a31cfb791c4cdf665e1b9acb548
parent8504bf43e249b4ff9091a549abc191e5b852fdf0
* Short circuit EmailNotification::notify() to not call EmailNotification::commonMessageKeys() if there're no users to notify. This is a hack to work arround the following exception:
A database query syntax error has occurred.
The last attempted database query was:
"SELECT gu_id, lu_wiki, gu_salt, gu_password,gu_auth_token, gu_locked,gu_hidden,gu_registration,gu_email,gu_email_authenticated FROM `parsertest_globaluser` LEFT OUTER JOIN `parsertest_localuser` ON gu_name=lu_name AND lu_wiki='test2wiki-parsertest_' WHERE gu_name='127.0.0.1'"
from within function "Database::safeQuery".
MySQL returned error "1146: Table 'centralauth.parsertest_globaluser' doesn't exist (127.0.0.1)"
* Whitespaces fixes
includes/Hooks.php
includes/UserMailer.php