CAdvContract::DeleteTypeLink: Bitrix method

      
<?php 
//  CAdvContract :: DeleteTypeLink()
//  /dist/bitrix/modules/advertising/classes/general/advertising.php:1108

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