private function saveForProject(Project $project, HTTPRequest $request) { $this->savePermissions($project, $request); $this->system_event_manager->queueACLUpdate($project->getUnixName()); $GLOBALS['Response']->addFeedback(Feedback::INFO, $GLOBALS['Language']->getText('plugin_proftpd', 'permissions_updated')); $GLOBALS['Response']->redirect('?' . http_build_query(array('group_id' => $project->getID(), 'controller' => self::NAME, 'action' => 'index'))); }
public function queueACLUpdate($project_name) { $this->system_event_manager->createEvent(SystemEvent\PROFTPD_UPDATE_ACL::NAME, $project_name, \SystemEvent::PRIORITY_HIGH, \SystemEvent::OWNER_ROOT); }