예제 #1
0
파일: preferences.php 프로젝트: Hildy/cerb5
 function saveRssAction()
 {
     @($id = DevblocksPlatform::importGPC($_POST['id']));
     $active_worker = CerberusApplication::getActiveWorker();
     if (null != ($feed = DAO_ViewRss::getId($id)) && $feed->worker_id == $active_worker->id) {
         DAO_ViewRss::delete($id);
     }
     DevblocksPlatform::setHttpResponse(new DevblocksHttpResponse(array('preferences', 'rss')));
 }