You are here

public static function MostPopularService::clear in Drupal Most Popular 6

Same name and namespace in other branches
  1. 7 classes/services.php \MostPopularService::clear()

Clears the internal caches, so the list of services must be fetched again.

2 calls to MostPopularService::clear()
MostPopularService::reset in classes/services.php
Resets the titles for each of the services to the defaults.
mostpopular_clear_caches in ./mostpopular.api.php
Clears all of the cached values from services, and resets the last time the service was run to 0.

File

classes/services.php, line 154
Defines a wrapper for the mostpopular_services table.

Class

MostPopularService
@file Defines a wrapper for the mostpopular_services table.

Code

public static function clear() {
  self::$availableList = NULL;
  self::$enabledList = NULL;
  self::$disabledList = NULL;
}