function drush_expire_absolute_url in Cache Expiration 7.2
Callback for expire-url drush command.
1 string reference to 'drush_expire_absolute_url'
- expire_drush_command in ./
expire.drush.inc - Implements hook_drush_command().
File
- ./
expire.drush.inc, line 110 - This is the drush integration for the expire module.
Code
function drush_expire_absolute_url() {
// Get drush params.
$absolute_urls = drush_get_arguments();
unset($absolute_urls[0]);
// Expire urls.
ExpireAPI::executeExpiration($absolute_urls, '', NULL, TRUE);
}