From 2d6b6533acc86747425facc9e96303bcccc6daae Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 29 Jul 2015 18:45:26 -0400 Subject: Add new api procedures: getDefaultTaskColor(), getDefaultTaskColors() and getColorList() --- app/Api/App.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'app/Api/App.php') diff --git a/app/Api/App.php b/app/Api/App.php index 24da4dd9..9b3ceb94 100644 --- a/app/Api/App.php +++ b/app/Api/App.php @@ -19,4 +19,19 @@ class App extends \Core\Base { return APP_VERSION; } + + public function getDefaultTaskColor() + { + return $this->color->getDefaultColor(); + } + + public function getDefaultTaskColors() + { + return $this->color->getDefaultColors(); + } + + public function getColorList() + { + return $this->color->getList(); + } } -- cgit v1.2.3