mirror of
https://github.com/freescout-helpdesk/freescout.git
synced 2024-11-25 03:43:33 +01:00
29 lines
408 B
PHP
29 lines
408 B
PHP
<?php
|
|
|
|
namespace App\Listeners;
|
|
|
|
class UpdateMailboxCounters
|
|
{
|
|
/**
|
|
* Create the event listener.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct()
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the event.
|
|
*
|
|
* @param $event
|
|
*
|
|
* @return void
|
|
*/
|
|
public function handle($event)
|
|
{
|
|
$event->conversation->mailbox->updateFoldersCounters();
|
|
}
|
|
}
|