You are here

function _classified_scheduled_page_expire in Classified Ads 7.3

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

Page callback for expirations.

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_expire'
classified_menu in ./classified.module
Implements hook_menu().

File

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

Code

function _classified_scheduled_page_expire() {

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