source/Core/UtilsPic.php
protected function _isPicDeletable($sPicName, $sTable, $sField)
    {
        if (!$sPicName || strpos($sPicName, 'nopic.jpg') !== false || strpos($sPicName, 'nopic_ico.jpg') !== false) {
            return false;
        }

        $iCountUsed = $this->fetchIsImageDeletable($sPicName, $sTable, $sField);

        return $iCountUsed > 1 ? false : true;
    }
protected function _isPicDeletable($sPicName, $sTable, $sField)
    {
        if (!$sPicName || strpos($sPicName, 'nopic.jpg') !== false || strpos($sPicName, 'nopic_ico.jpg') !== false) {
            return false;
        }

        $iCountUsed = $this->fetchIsImageDeletable($sPicName, $sTable, $sField);

        return $iCountUsed > 1 ? false : true;
    }
protected function _isPicDeletable ( $ sPicName , $ sTable , $ sField ) { if ( ! $ sPicName || strpos ( $ sPicName , 'nopic.jpg' ) !== false || strpos ( $ sPicName , 'nopic_ico.jpg' ) !== false ) { return false ; } $ iCountUsed = $ this -> fetchIsImageDeletable ( $ sPicName , $ sTable , $ sField ) ; return $ iCountUsed > 1 ? false : true ; }
Checks if current picture file is used in more than one table entry, returns
true if one, false if more than one.

@param string $sPicName Name of picture file
@param string $sTable   in which table
@param string $sField   table field value

@return bool
Checks if current picture file is used in more than one table entry returns true if one false if more than one .