// Replace public by protected in override methods
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13022 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -309,7 +309,7 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
return parent::renderView();
|
||||
}
|
||||
|
||||
public function afterImageUpload()
|
||||
protected function afterImageUpload()
|
||||
{
|
||||
$return = true;
|
||||
/* Generate image with differents size */
|
||||
@@ -407,7 +407,7 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
/**
|
||||
* @see AdminController::afterAdd()
|
||||
*/
|
||||
public function afterAdd($object)
|
||||
protected function afterAdd($object)
|
||||
{
|
||||
$address = new Address($object->id_address);
|
||||
if (Validate::isLoadedObject($address))
|
||||
@@ -422,7 +422,7 @@ class AdminSuppliersControllerCore extends AdminController
|
||||
/**
|
||||
* @see AdminController::afterUpdate()
|
||||
*/
|
||||
public function afterUpdate($object)
|
||||
protected function afterUpdate($object)
|
||||
{
|
||||
$address = new Address($object->id_address);
|
||||
if (Validate::isLoadedObject($address))
|
||||
|
||||
Reference in New Issue
Block a user