mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-27 17:40:11 +00:00
Remove undefined $user variable
findLinks() doesn't have a third parameter and an undefined one wouldn't be all that useful even if it did. Change-Id: I250b558d7b97a6355b3d86b71b3a37399b3c6eb0
This commit is contained in:
parent
12ac8eeec6
commit
494c807cf4
|
@ -383,8 +383,8 @@ class SimpleCaptcha {
|
|||
} else {
|
||||
// Get link changes in the slowest way known to man
|
||||
$oldtext = isset( $oldtext ) ? $oldtext : $this->loadText( $title, $section, $loadOldtextFlags );
|
||||
$oldLinks = $this->findLinks( $title, $oldtext, $user );
|
||||
$newLinks = $this->findLinks( $title, $newtext, $user );
|
||||
$oldLinks = $this->findLinks( $title, $oldtext );
|
||||
$newLinks = $this->findLinks( $title, $newtext );
|
||||
}
|
||||
|
||||
$unknownLinks = array_filter( $newLinks, array( &$this, 'filterLink' ) );
|
||||
|
|
Loading…
Reference in a new issue