/**
  * When a project is deleted, we delete all its trackers
  *
  * @param mixed $params ($param['group_id'] the ID of the deleted project)
  *
  * @return void
  */
 function project_is_deleted($params)
 {
     $groupId = $params['group_id'];
     if ($groupId) {
         include_once 'Tracker/TrackerManager.class.php';
         $trackerManager = new TrackerManager();
         $trackerManager->deleteProjectTrackers($groupId);
     }
 }