Index: trunk/phase3/maintenance/refreshLinks.php |
— | — | @@ -35,10 +35,10 @@ |
36 | 36 | } |
37 | 37 | |
38 | 38 | public function execute() { |
| 39 | + $max = $this->getOption( 'm', 0 ); |
39 | 40 | if ( !$this->hasOption( 'dfn-only' ) ) { |
40 | 41 | $start = $this->getArg( 0, 1 ); |
41 | 42 | $new = $this->getOption( 'new-only', false ); |
42 | | - $max = $this->getOption( 'm', false ); |
43 | 43 | $end = $this->getOption( 'e', 0 ); |
44 | 44 | $redir = $this->getOption( 'redirects-only', false ); |
45 | 45 | $oldRedir = $this->getOption( 'old-redirects-only', false ); |