Пример #1
0
/**
 * 
 * @global type $langStatsCleared
 * @return type
 */
function clear_stats()
{
    global $langStatsCleared;
    require_once 'include/action.php';
    $action = new action();
    $action->summarizeAll();
    return "<p>{$langStatsCleared}</p>";
}
Пример #2
0
/**
 * 
 * @global type $langStatsCleared
 * @return type
 */
function clear_stats() {
    global $langStatsCleared;

    require_once 'include/action.php';
    $action = new action();
    $action->summarizeAll();

    return "<div class='alert alert-info'>$langStatsCleared</div>";
}