source/Application/Model/SeoEncoderVendor.php
public function onDeleteVendor($vendor)
    {
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $vendorId = $vendor->getId();
        $database->execute("delete from oxseo where oxobjectid = ? and oxtype = 'oxvendor'", [$vendorId]);
        $database->execute("delete from oxobject2seodata where oxobjectid = ?", [$vendorId]);
        $database->execute("delete from oxseohistory where oxobjectid = ?", [$vendorId]);
    }
public function onDeleteVendor($vendor)
    {
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $vendorId = $vendor->getId();
        $database->execute("delete from oxseo where oxobjectid = ? and oxtype = 'oxvendor'", [$vendorId]);
        $database->execute("delete from oxobject2seodata where oxobjectid = ?", [$vendorId]);
        $database->execute("delete from oxseohistory where oxobjectid = ?", [$vendorId]);
    }
public function onDeleteVendor ( $ vendor ) { $ database = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ vendorId = $ vendor -> getId ( ) ; $ database -> execute ( "delete from oxseo where oxobjectid = ? and oxtype = 'oxvendor'" , [ $ vendorId ] ) ; $ database -> execute ( "delete from oxobject2seodata where oxobjectid = ?" , [ $ vendorId ] ) ; $ database -> execute ( "delete from oxseohistory where oxobjectid = ?" , [ $ vendorId ] ) ; }
Deletes Vendor seo entry

@param \OxidEsales\Eshop\Application\Model\Vendor $vendor Vendor object
Deletes Vendor seo entry