Difference between revisions of "MonitorUserLogin.php"
From Organic Design wiki
(link to MW:Extension:UserLoginLog and Extension:UserLoginLog.php) |
(change to info template) |
||
Line 1: | Line 1: | ||
{{legacy}} | {{legacy}} | ||
− | {{ | + | {{info|Logging of user logins, logouts and login errors is now handled by the [[MW:Extension:UserLoginLog|UserLoginLog extension]]. The code for UserLoginLog is [[Extension:UserLoginLog.php]].}} |
− | Logging of user logins, logouts and login errors is now handled by the [[MW:Extension:UserLoginLog|UserLoginLog extension]]. The code for UserLoginLog is [[Extension:UserLoginLog.php]]. | ||
− | }} | ||
<php><? | <php><? | ||
# Log user login activity | # Log user login activity |
Revision as of 05:02, 26 September 2007
<php><?
- Log user login activity
function monitorUserLogin(&$text) { $entry = ;
if (preg_match('/