Пример #1
0
 /**
  * Delete Kanban
  *
  * Delete Kanban
  *
  * @url DELETE {id}
  * @access protected
  *
  * <pre>
  * /!\ Kanban REST routes are under construction and subject to changes /!\
  * </pre>
  *
  * @param string $id Id of the kanban
  */
 protected function delete($id)
 {
     $user = $this->getCurrentUser();
     $kanban = $this->getKanban($user, $id);
     $this->checkUserCanUpdateKanban($user, $kanban);
     $this->kanban_dao->delete($id);
     Header::allowOptionsGetPatchDelete();
 }