CAdvBanner :: DeleteSiteLink: Bitrix method

      
<?php 
//  CAdvBanner :: DeleteSiteLink()
//  /dist/bitrix/modules/advertising/classes/general/advertising.php:1472

    
public static function DeleteSiteLink($BANNER_ID)
    {
        
$err_mess = (CAdvBanner_all::err_mess())."<br>Function: DeleteSiteLink<br>Line: ";
        global 
$DB;
        
$BANNER_ID intval($BANNER_ID);
        if (
$BANNER_ID<=0)
            return 
false;
        
$strSql "DELETE FROM b_adv_banner_2_site WHERE BANNER_ID = $BANNER_ID";
        
$DB->Query($strSqlfalse$err_mess.__LINE__);
        return 
true;
    }