You are here

public static function MostPopularInterval::clear in Drupal Most Popular 7

Same name and namespace in other branches
  1. 6 classes/intervals.php \MostPopularInterval::clear()

Removes all intervals from the database.

1 call to MostPopularInterval::clear()
MostPopularInterval::reset in classes/intervals.php
Resets the list of intervals to the default settings.

File

classes/intervals.php, line 118
Defines a wrapper for the mostpopular_intervals table.

Class

MostPopularInterval
@file Defines a wrapper for the mostpopular_intervals table.

Code

public static function clear() {
  db_query('TRUNCATE {' . self::$table . '}');
}