clone stacks

Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
This commit is contained in:
Jakob Röhrl
2020-04-29 12:58:10 +02:00
parent 26d2d3a909
commit 003df010dd
6 changed files with 157 additions and 2 deletions

View File

@@ -107,4 +107,13 @@ class StackController extends Controller {
public function deleted($boardId) {
return $this->stackService->fetchDeleted($boardId);
}
/**
* @NoAdminRequired
* @param $boardId
* @return \OCP\Deck\DB\Board
*/
public function clone($stackId, $boardId) {
return $this->stackService->clone($stackId, $boardId, $this->userId);
}
}