summaryrefslogtreecommitdiff
path: root/app/Api
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-12-20 20:06:39 -0500
committerFrederic Guillot <fred@kanboard.net>2016-12-20 20:06:39 -0500
commitae708a712a5dd932c01e734f8450b899b1407a70 (patch)
tree348c01ad849fbeeee0fba74118b4536af4119333 /app/Api
parenta957195952e2c93177628ab07936d783da1388c3 (diff)
Offer the possibility to override internal formatter objects from plugins
Diffstat (limited to 'app/Api')
-rw-r--r--app/Api/Procedure/BoardProcedure.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Api/Procedure/BoardProcedure.php b/app/Api/Procedure/BoardProcedure.php
index 674b5466..69daaf09 100644
--- a/app/Api/Procedure/BoardProcedure.php
+++ b/app/Api/Procedure/BoardProcedure.php
@@ -3,7 +3,6 @@
namespace Kanboard\Api\Procedure;
use Kanboard\Api\Authorization\ProjectAuthorization;
-use Kanboard\Formatter\BoardFormatter;
/**
* Board API controller
@@ -17,7 +16,7 @@ class BoardProcedure extends BaseProcedure
{
ProjectAuthorization::getInstance($this->container)->check($this->getClassName(), 'getBoard', $project_id);
- return BoardFormatter::getInstance($this->container)
+ return $this->boardFormatter
->withProjectId($project_id)
->withQuery($this->taskFinderModel->getExtendedQuery())
->format();