| @@ -36,9 +36,8 @@ | ||
| 36 | 36 | $this->registryAction('getAPOP'); |
| 37 | 37 | $this->registryAction('restoreRevision'); |
| 38 | 38 | $this->registryAction('loadUrl'); |
| 39 | 39 | $this->registryAction('downloadCodeFile'); |
| 40 | - $this->registryAction('getAllAssignment'); | |
| 41 | 40 | } |
| 42 | 41 | |
| 43 | 42 | /** |
| 44 | 43 | * put your comment there... |
| @@ -49,16 +48,8 @@ | ||
| 49 | 48 | // Pass to CJTBlockController! |
| 50 | 49 | $this->redirect('block'); |
| 51 | 50 | } |
| 52 | 51 | |
| 53 | - /** | |
| 54 | - * put your comment there... | |
| 55 | - * | |
| 56 | - */ | |
| 57 | - protected function getAllAssignmentAction() { | |
| 58 | - $this->redirect('block'); | |
| 59 | - } | |
| 60 | - | |
| 61 | 52 | /** |
| 62 | 53 | * put your comment there... |
| 63 | 54 | * |
| 64 | 55 | * @deprecated this is just a redirect to the CJTBlockContoller::getAction(). |
| @@ -76,9 +67,9 @@ | ||
| 76 | 67 | protected function getBlockByAction() { |
| 77 | 68 | // Pass to CJTBlockController! |
| 78 | 69 | $this->redirect('block'); |
| 79 | 70 | } |
| 80 | - | |
| 71 | + | |
| 81 | 72 | /** |
| 82 | 73 | * put your comment there... |
| 83 | 74 | * |
| 84 | 75 | * @deprecated All will be moved to other controllers in the future versions. |
| @@ -151,9 +142,9 @@ | ||
| 151 | 142 | // Create view. |
| 152 | 143 | $view = $this->getView('blocks/revisions'); |
| 153 | 144 | // Push view vars. |
| 154 | 145 | $view->blockId = $blockId; |
| 155 | - $view->revisions = array_reverse($revisions); | |
| 146 | + $view->revisions = $revisions; | |
| 156 | 147 | // Set output header. |
| 157 | 148 | $this->httpContentType = 'text/html'; |
| 158 | 149 | // Return view content. |
| 159 | 150 | $this->response = $view->getTemplate('default'); |