示例#1
0
 /**
  * Add the project manager notify email job to the cron controller
  */
 public static function initListeners()
 {
     if (GO::modules()->isInstalled('files')) {
         $folderController = new \GO\Files\Controller\FolderController();
         $folderController->addListener('checkmodelfolder', "GO\\Projects2\\Projects2Module", "createParentFolders");
     }
 }