Index: trunk/extensions/LiquidThreads/pages/NewUserMessagesView.php |
— | — | @@ -111,11 +111,6 @@ |
112 | 112 | if ( ! is_array( $this->threads ) ) { |
113 | 113 | throw new MWException( 'You must use NewUserMessagesView::setThreads() before calling NewUserMessagesView::show().' ); |
114 | 114 | } |
115 | | - |
116 | | - if ( $this->request->getBool( 'lqt_inline' ) ) { |
117 | | - $this->doInlineEditForm(); |
118 | | - return false; |
119 | | - } |
120 | 115 | |
121 | 116 | // Do everything by id, because we can't depend on reference identity; a simple Thread::withId |
122 | 117 | // can change the cached value and screw up your references. |
Index: trunk/extensions/LiquidThreads/pages/SpecialNewMessages.php |
— | — | @@ -32,6 +32,11 @@ |
33 | 33 | |
34 | 34 | $view = new NewUserMessagesView( $this->output, $article, |
35 | 35 | $title, $this->user, $this->request ); |
| 36 | + |
| 37 | + if ( $this->request->getBool( 'lqt_inline' ) ) { |
| 38 | + $view->doInlineEditForm(); |
| 39 | + return; |
| 40 | + } |
36 | 41 | |
37 | 42 | $view->showOnce(); // handles POST etc. |
38 | 43 | |