source/Core/UtilsPic.php
public function safePictureDelete($sPicName, $sAbsDynImageDir, $sTable, $sField)
    {
        $blDelete = false;
        if ($this->_isPicDeletable($sPicName, $sTable, $sField)) {
            $blDelete = $this->_deletePicture($sPicName, $sAbsDynImageDir);
        }

        return $blDelete;
    }
public function safePictureDelete($sPicName, $sAbsDynImageDir, $sTable, $sField)
    {
        $blDelete = false;
        if ($this->_isPicDeletable($sPicName, $sTable, $sField)) {
            $blDelete = $this->_deletePicture($sPicName, $sAbsDynImageDir);
        }

        return $blDelete;
    }
public function safePictureDelete ( $ sPicName , $ sAbsDynImageDir , $ sTable , $ sField ) { $ blDelete = false ; if ( $ this -> _isPicDeletable ( $ sPicName , $ sTable , $ sField ) ) { $ blDelete = $ this -> _deletePicture ( $ sPicName , $ sAbsDynImageDir ) ; } return $ blDelete ; }
deletes the given picutre and checks before if the picture is deletable

@param string $sPicName        Name of picture file
@param string $sAbsDynImageDir the absolute image diectory, where to delete the given image ($myConfig->getPictureDir(false))
@param string $sTable          in which table
@param string $sField          table field value

@return bool
deletes the given picutre and checks before if the picture is deletable