Index: trunk/extensions/LiquidThreads/classes/View.php |
— | — | @@ -310,18 +310,6 @@ |
311 | 311 | wfMsgExt( 'lqt_invalid_subject', 'parse' ) ); |
312 | 312 | } |
313 | 313 | |
314 | | - if ( $subject && $thread && $subject != $thread->subjectWithoutIncrement() && |
315 | | - !$this->user->isAllowed( 'move' ) ) { |
316 | | - $e->editFormPageTop .= |
317 | | - Xml::tags( 'div', array( 'class' => 'error' ), |
318 | | - wfMsgExt( 'lqt_subject_change_forbidden', 'parse' ) ); |
319 | | - $failed_rename = true; |
320 | | - |
321 | | - // Reset the subject |
322 | | - global $wgRequest; |
323 | | - $wgRequest->setVal( 'lqt_subject_field', $thread->subjectWithoutIncrement() ); |
324 | | - } |
325 | | - |
326 | 314 | if ( (!$valid_subject && $subject) || $failed_rename ) { |
327 | 315 | // Dirty hack to prevent saving from going ahead |
328 | 316 | global $wgRequest; |
— | — | @@ -358,9 +346,6 @@ |
359 | 347 | $subject_label = wfMsg( 'lqt_subject' ); |
360 | 348 | |
361 | 349 | $attr = array( 'tabindex' => 1 ); |
362 | | - if ( $thread && !$this->user->isAllowed( 'move' ) ) { |
363 | | - $attr['readonly'] = 'readonly'; |
364 | | - } |
365 | 350 | |
366 | 351 | $e->editFormTextBeforeContent .= |
367 | 352 | Xml::inputLabel( $subject_label, 'lqt_subject_field', 'lqt_subject_field', |