mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-11-16 09:37:08 +00:00
Merge pull request #497 from chmst/controller-postsavehook
Update postsavehook params
This commit is contained in:
commit
e79bc928e9
@ -12,6 +12,7 @@ namespace Joomla\Component\Weblinks\Administrator\Controller;
|
|||||||
defined('_JEXEC') or die;
|
defined('_JEXEC') or die;
|
||||||
|
|
||||||
use Joomla\CMS\MVC\Controller\FormController;
|
use Joomla\CMS\MVC\Controller\FormController;
|
||||||
|
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
|
||||||
use Joomla\CMS\Router\Route;
|
use Joomla\CMS\Router\Route;
|
||||||
use Joomla\CMS\Versioning\VersionableControllerTrait;
|
use Joomla\CMS\Versioning\VersionableControllerTrait;
|
||||||
use Joomla\Utilities\ArrayHelper;
|
use Joomla\Utilities\ArrayHelper;
|
||||||
@ -118,7 +119,7 @@ class WeblinkController extends FormController
|
|||||||
*
|
*
|
||||||
* @since 1.6
|
* @since 1.6
|
||||||
*/
|
*/
|
||||||
protected function postSaveHook(\JModelLegacy $model, $validData = array())
|
protected function postSaveHook(BaseDatabaseModel $model, $validData = [])
|
||||||
{
|
{
|
||||||
$task = $this->getTask();
|
$task = $this->getTask();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user