CAdvBanner::CleanUpAllDynamics: Bitrix method

      
<?php 
//  CAdvBanner :: CleanUpAllDynamics()
//  /dist/bitrix/modules/advertising/classes/mysql/advertising.php:962

    
public static function CleanUpAllDynamics()
    {
        
set_time_limit(0);
        
ignore_user_abort(true);
        
$err_mess CAdvBanner::err_mess()."<br>Function: CleanUpAllDynamics<br>Line: ";
        global 
$DB;
        
$strSql "DELETE FROM b_adv_banner_2_day WHERE 1 = 1";
        
$DB->Query($strSqlfalse$err_mess.__LINE__);
        
$strSql "OPTIMIZE TABLE b_adv_banner_2_day";
        
$DB->Query($strSqlfalse$err_mess.__LINE__);
        return 
"CAdvBanner::CleanUpAllDynamics();";
    }