public function MostPopularLastRun::remove in Drupal Most Popular 7
Same name and namespace in other branches
- 6 classes/lastrun.php \MostPopularLastRun::remove()
Removes the last run and throttle info from the database.
This should only be called if the service or interval has been removed.
File
- classes/
lastrun.php, line 99 - Defines a wrapper for the mostpopular_last_run table.
Class
- MostPopularLastRun
- @file Defines a wrapper for the mostpopular_last_run table.
Code
public function remove() {
$sql = 'DELETE FROM {' . self::$table . '} WHERE sid = %d AND iid = %d';
db_query($sql, $this->sid, $this->iid);
}