// revert previous commit
This commit is contained in:
@@ -480,11 +480,10 @@ abstract class AdminTabCore
|
||||
* Overload this method for custom checking
|
||||
*
|
||||
* @param integer $id Object id used for deleting images
|
||||
* @deprecated As of 1.5 use ObjectModel->deleteImage instead.
|
||||
* TODO This function will soon be deprecated. Use ObjectModel->deleteImage instead.
|
||||
*/
|
||||
public function deleteImage($id)
|
||||
{
|
||||
Tools::displayAsDeprecated();
|
||||
$dir = null;
|
||||
/* Deleting object images and thumbnails (cache) */
|
||||
if (key_exists('dir', $this->fieldImageSettings))
|
||||
|
||||
Reference in New Issue
Block a user