function support_fetch_client_mail in Support Ticketing System 6
Same name and namespace in other branches
- 7 support.module \support_fetch_client_mail()
Automatically download messages for all active clients.
1 call to support_fetch_client_mail()
- support_cron in ./
support.module - Implementation of hook_cron().
1 string reference to 'support_fetch_client_mail'
- support_menu in ./
support.module - Implementation of hook_menu().
File
- ./
support.module, line 491 - support.module
Code
function support_fetch_client_mail() {
$clients = support_active_clients();
if (is_array($clients)) {
foreach ($clients as $clid => $client) {
if ($client->integrate_email) {
support_client_fetch($client, FALSE);
}
}
}
}