private static function removeExcessiveRequests()
{
$all = Session::get('stats_queries');
if (sizeof($all) > self::NUMBER_OF_REQUESTS_TO_KEEP) {
while (sizeof($all) > self::NUMBER_OF_REQUESTS_TO_KEEP) {
array_shift($all);
}
Session::set('stats_queries', $all);
}
}