You are here

function _ed_classified_user_purge in Classified Ads 7.2

Same name and namespace in other branches
  1. 5.2 ed_classified_delete.inc \_ed_classified_user_purge()
  2. 5 ed_classified_delete.inc \_ed_classified_user_purge()
  3. 6.2 ed_classified_delete.inc \_ed_classified_user_purge()

User entry point to purge old, expired classified ads

1 string reference to '_ed_classified_user_purge'
ed_classified.module in ./ed_classified.module
Simple text-based classified ads module. Michael Curry, Exodus Development, Inc. exodusdev@gmail.com for more information, please visit http://exodusdev.com/drupal/modules/classified.module Copyright (c) 2006, 2007 Exodus Development, Inc. All Rights…

File

./ed_classified_delete.inc, line 31
Node deletion facilities. Michael Curry, Exodus Development, Inc. exodusdev@gmail.com for more information, please visit http://exodusdev.com Copyright (c) 2006, 2007 Exodus Development, Inc. All Rights Reserved. Licensed under the terms of the GNU…

Code

function _ed_classified_user_purge() {
  global $user;
  $purge_endtime = _ed_classified_purge();
  drupal_set_message('Purged ads that expired before ' . format_date($purge_endtime));
  return ed_classified_admin_overview($user->uid);
}