This commit is contained in:
Julius Haertl
2016-06-15 14:05:19 +02:00
parent ae9d5da329
commit cf3bbcb888
35 changed files with 686 additions and 465 deletions

View File

@@ -14,11 +14,11 @@ class BoardController extends Controller {
private $boardService;
public function __construct($appName,
IRequest $request,
BoardService $stackService,
BoardService $cardService,
$userId){
parent::__construct($appName, $request);
$this->userId = $userId;
$this->boardService = $stackService;
$this->boardService = $cardService;
}
/**
* @NoAdminRequired
@@ -32,7 +32,7 @@ class BoardController extends Controller {
*/
public function read($boardId) {
// FIXME: Remove as this is just for testing if loading animation works out nicely
usleep(500000);
usleep(200000);
return $this->boardService->find($this->userId, $boardId);
}
/**