You are here

function _classified_scheduled_page_purge in Classified Ads 7.3

Same name and namespace in other branches
  1. 6.3 classified.scheduled.inc \_classified_scheduled_page_purge()

Page callback for purges.

Return value

string A string instead of a render array, because there is not much to say.

Throws

\Exception

1 string reference to '_classified_scheduled_page_purge'
classified_menu in ./classified.module
Implements hook_menu().

File

./classified.scheduled.inc, line 353
Scheduled operations for classified.module.

Code

function _classified_scheduled_page_purge() {

  // Do not display results.
  _classified_scheduled_build_purge();
  drupal_set_breadcrumb(_classified_get_breadcrumb_by_term(NULL));
  return t('<p>Thanks for triggering our purge process.</p>');
}