source/Application/Controller/Admin/ShopSeo.php
protected function deleteStaticUrlFromDb($staticUrlId)
    {
        // active shop id
        $shopId = $this->getEditObjectId();
        $db = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $db->execute("delete from oxseo where oxtype='static' and oxobjectid = " . $db->quote($staticUrlId) . " and oxshopid = " . $db->quote($shopId));
    }
protected function deleteStaticUrlFromDb($staticUrlId)
    {
        // active shop id
        $shopId = $this->getEditObjectId();
        $db = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $db->execute("delete from oxseo where oxtype='static' and oxobjectid = " . $db->quote($staticUrlId) . " and oxshopid = " . $db->quote($shopId));
    }
protected function deleteStaticUrlFromDb ( $ staticUrlId ) { // active shop id $ shopId = $ this -> getEditObjectId ( ) ; $ db = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ db -> execute ( "delete from oxseo where oxtype='static' and oxobjectid = " . $ db -> quote ( $ staticUrlId ) . " and oxshopid = " . $ db -> quote ( $ shopId ) ) ; }
Deletes static url from DB.

@param string $staticUrlId
Deletes static url from DB .