function drush_social_content_purge in Social Content 7.2
Callback function for drush social-content-purge command.
File
- ./
social_content.drush.inc, line 81 - Social Content module drush integration file.
Code
function drush_social_content_purge() {
$count = social_content_delete_old_nodes();
$message = dt('!count nodes have been deleted.', array(
'!count' => $count,
));
drush_log($message, 'ok');
}