Code Duplication    Length = 6-7 lines in 2 locations

includes/specials/pagers/UsersPager.php 1 location

@@ 81-87 (lines=7) @@
78
79
		$this->requestedUser = '';
80
81
		if ( $un != '' ) {
82
			$username = Title::makeTitleSafe( NS_USER, $un );
83
84
			if ( !is_null( $username ) ) {
85
				$this->requestedUser = $username->getText();
86
			}
87
		}
88
89
		parent::__construct();
90
	}

includes/specials/pagers/ActiveUsersPager.php 1 location

@@ 59-64 (lines=6) @@
56
		$this->requestedUser = '';
57
58
		$un = $opts->getValue( 'username' );
59
		if ( $un != '' ) {
60
			$username = Title::makeTitleSafe( NS_USER, $un );
61
			if ( !is_null( $username ) ) {
62
				$this->requestedUser = $username->getText();
63
			}
64
		}
65
66
		$this->groups = $opts->getValue( 'groups' );
67
	}