Index: branches/liquidthreads/extensions/LqtExtension.php |
— | — | @@ -210,10 +210,7 @@ |
211 | 211 | } |
212 | 212 | |
213 | 213 | static function permalinkUrlWithDiff( $thread ) { |
214 | | - // TODO, changeObjects should return the thread itself. |
215 | 214 | $changed_thread = $thread->changeObject(); |
216 | | -// $changed_thread = Threads::withId($thread->changeObject()); |
217 | | - var_dump($changed_thread); |
218 | 215 | $curr_rev_id = $changed_thread->rootRevision(); |
219 | 216 | $curr_rev = Revision::newFromTitle( $changed_thread->root()->getTitle(), $curr_rev_id ); |
220 | 217 | $prev_rev = $curr_rev->getPrevious(); |
Index: branches/liquidthreads/extensions/LqtModel.php |
— | — | @@ -362,9 +362,8 @@ |
363 | 363 | there was a new revision saved at save time. make it run then make it right.) |
364 | 364 | */ |
365 | 365 | $rev = Revision::newFromTitle( $this->root()->getTitle() ); |
366 | | - $this->double->rootRevision = $rev->getId(); |
| 366 | + $this->rootRevision = $rev->getId(); |
367 | 367 | |
368 | | - |
369 | 368 | $this->double = clone $this; |
370 | 369 | } |
371 | 370 | |