CAdvBanner :: DeleteStatAdvLink: Bitrix method

      
<?php 
//  CAdvBanner :: DeleteStatAdvLink()
//  /dist/bitrix/modules/advertising/classes/general/advertising.php:1498

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