Exemple #1
0
 function ajaxDeleteRoutingAction()
 {
     $translate = DevblocksPlatform::getTranslationService();
     if (DEMO_MODE) {
         return;
     }
     $worker = CerberusApplication::getActiveWorker();
     if (!$worker || !$worker->is_superuser) {
         echo $translate->_('common.access_denied');
         return;
     }
     @($id = DevblocksPlatform::importGPC($_REQUEST['id']));
     DAO_Mail::deleteMailboxRouting($id);
 }