source/Core/PictureHandler.php
public function deleteThumbnail($oObject)
    {
        if (($sThumb = $oObject->oxarticles__oxthumb->value)) {
            // deleting article main icon and thumb picture
            $sPath = \OxidEsales\Eshop\Core\Registry::getConfig()->getPictureDir(false) . \OxidEsales\Eshop\Core\Registry::getUtilsFile()->getImageDirByType("TH");
            \OxidEsales\Eshop\Core\Registry::getUtilsPic()->safePictureDelete($sThumb, $sPath, "oxarticles", "oxthumb");
        }
    }
public function deleteThumbnail($oObject)
    {
        if (($sThumb = $oObject->oxarticles__oxthumb->value)) {
            // deleting article main icon and thumb picture
            $sPath = \OxidEsales\Eshop\Core\Registry::getConfig()->getPictureDir(false) . \OxidEsales\Eshop\Core\Registry::getUtilsFile()->getImageDirByType("TH");
            \OxidEsales\Eshop\Core\Registry::getUtilsPic()->safePictureDelete($sThumb, $sPath, "oxarticles", "oxthumb");
        }
    }
public function deleteThumbnail ( $ oObject ) { if ( ( $ sThumb = $ oObject -> oxarticles__oxthumb -> value ) ) { // deleting article main icon and thumb picture $ sPath = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getPictureDir ( false ) . \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsFile ( ) -> getImageDirByType ( "TH" ) ; \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsPic ( ) -> safePictureDelete ( $ sThumb , $ sPath , "oxarticles" , "oxthumb" ) ; } }
Deletes custom thumbnail, which name is specified in oxthumb field.

@param \OxidEsales\Eshop\Application\Model\Article $oObject article object
Deletes custom thumbnail which name is specified in oxthumb field .