mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-11-28 00:40:38 +00:00
build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Change-Id: I3d27bc41baf88e12c3874d6acc064abd5c847192
This commit is contained in:
parent
92e21bead9
commit
19ef39f143
|
@ -9,7 +9,7 @@
|
|||
"mediawiki/mediawiki-codesniffer": "28.0.0",
|
||||
"jakub-onderka/php-console-highlighter": "0.3.2",
|
||||
"mediawiki/minus-x": "0.3.2",
|
||||
"mediawiki/mediawiki-phan-config": "0.8.0"
|
||||
"mediawiki/mediawiki-phan-config": "0.9.0"
|
||||
},
|
||||
"scripts": {
|
||||
"fix": [
|
||||
|
|
|
@ -593,7 +593,7 @@ class LoginNotify implements LoggerAwareInterface {
|
|||
);
|
||||
return false;
|
||||
}
|
||||
if ( (int)$parts[0] < gmdate( 'Y' ) - 3 ) {
|
||||
if ( (int)$parts[0] < (int)gmdate( 'Y' ) - 3 ) {
|
||||
// Record is too old. If user hasn't logged in from this
|
||||
// computer in two years, should probably not consider it trusted.
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue