<?php
$system->error('This feature has been disabled in demo mode') if $system->config('demo');
$search->execute;
while (my $user = $search->fetch)
{
if ($system->param('action') eq 'delete')
{
$user->delete;
}
elsif ($system->param('action') eq 'email')
{
$user->mail('subject' => $system->param('subject'),'message' => $system->param('message'));
}
}
$system->redirect;
?>