Code Duplication    Length = 5-5 lines in 2 locations

includes/specials/SpecialUserrights.php 1 location

@@ 98-102 (lines=5) @@
95
			throw new UserBlockedError( $user->getBlock() );
96
		}
97
98
		if ( $par !== null ) {
99
			$this->mTarget = $par;
100
		} else {
101
			$this->mTarget = $request->getVal( 'user' );
102
		}
103
104
		$available = $this->changeableGroups();
105

includes/specials/SpecialUndelete.php 1 location

@@ 710-714 (lines=5) @@
707
		$user = $this->getUser();
708
709
		$this->mAction = $request->getVal( 'action' );
710
		if ( $par !== null && $par !== '' ) {
711
			$this->mTarget = $par;
712
		} else {
713
			$this->mTarget = $request->getVal( 'target' );
714
		}
715
716
		$this->mTargetObj = null;
717