CBlogComment :: DeleteLog: Bitrix method

      
<?php 
//  CBlogComment :: DeleteLog()
//  /dist/bitrix/modules/blog/general/blog_comment.php:592

    
public static function DeleteLog($commentID)
    {
        if (!
CModule::IncludeModule('socialnetwork'))
            return;

        
$dbRes CSocNetLogComments::GetList(
            array(
"ID" => "DESC"),
            array(
                
"EVENT_ID"    => array("blog_comment""blog_comment_micro"),
                
"SOURCE_ID" => $commentID
            
),
            
false,
            
false,
            array(
"ID")
        );
        while (
$arRes $dbRes->Fetch())
            
CSocNetLogComments::Delete($arRes["ID"]);
    }