Index: trunk/extensions/StalkerLog/StalkerLog.php |
— | — | @@ -34,12 +34,6 @@ |
35 | 35 | $wgLogRestrictions['stalkerlog'] = 'stalkerlog-view-log'; |
36 | 36 | $wgLogActions['stalkerlog/login'] = 'stalkerlog-log-login'; |
37 | 37 | |
38 | | -# 1.13+ setup only |
39 | | -if ( version_compare( $wgVersion, '1.13', '>=' ) ) { |
40 | | - $wgHooks['UserLogoutComplete'][] = 'wfStalkerLogout'; |
41 | | - $wgLogActions['stalkerlog/logout'] = 'stalkerlog-log-logout'; |
42 | | -} |
43 | | - |
44 | 38 | # Login hook function |
45 | 39 | function wfStalkerLogin( &$user ) { |
46 | 40 | wfLoadExtensionMessages('stalkerlog'); |