Skip to content

Commit

Permalink
Deal with the renaming of the old MVC classes and remove the aliases.
Browse files Browse the repository at this point in the history
  • Loading branch information
realityking committed Jul 12, 2012
1 parent 9372a93 commit 1fae63a
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 96 deletions.
6 changes: 3 additions & 3 deletions administrator/components/com_modules/controllers/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,14 @@ public function batch($model = null)
/**
* Function that allows child controller access to model data after the data has been saved.
*
* @param JModel &$model The data model object.
* @param array $validData The validated data.
* @param JModelLegacy &$model The data model object.
* @param array $validData The validated data.
*
* @return void
*
* @since 1.6
*/
protected function postSaveHook(JModel &$model, $validData = array())
protected function postSaveHook(JModelLegacy &$model, $validData = array())
{
// Initialise variables.
$app = JFactory::getApplication();
Expand Down
6 changes: 3 additions & 3 deletions components/com_content/controllers/article.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,13 @@ protected function getReturnPage()
/**
* Function that allows child controller access to model data after the data has been saved.
*
* @param JModel $model The data model object.
* @param array $validData The validated data.
* @param JModelLegacy $model The data model object.
* @param array $validData The validated data.
*
* @return void
* @since 1.6
*/
protected function postSaveHook(JModel &$model, $validData)
protected function postSaveHook(JModelLegacy &$model, $validData)
{
$task = $this->getTask();

Expand Down
6 changes: 3 additions & 3 deletions components/com_weblinks/controllers/weblink.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,13 @@ protected function getReturnPage()
/**
* Function that allows child controller access to model data after the data has been saved.
*
* @param JModel $model The data model object.
* @param array $validData The validated data.
* @param JModelLegacy $model The data model object.
* @param array $validData The validated data.
*
* @return void
* @since 1.6
*/
protected function postSaveHook(JModel &$model, $validData = array())
protected function postSaveHook(JModelLegacy &$model, $validData = array())
{
$task = $this->getTask();

Expand Down
1 change: 0 additions & 1 deletion libraries/cms/controller/index.html

This file was deleted.

23 changes: 0 additions & 23 deletions libraries/cms/controller/legacy.php

This file was deleted.

1 change: 0 additions & 1 deletion libraries/cms/model/index.html

This file was deleted.

38 changes: 0 additions & 38 deletions libraries/cms/model/legacy.php

This file was deleted.

1 change: 0 additions & 1 deletion libraries/cms/view/index.html

This file was deleted.

23 changes: 0 additions & 23 deletions libraries/cms/view/legacy.php

This file was deleted.

0 comments on commit 1fae63a

Please sign in to comment.