Remove info logging from API

This commit is contained in:
kiswa 2017-05-01 23:51:24 +00:00
parent a33b7c95cc
commit 1adca42d8b
3 changed files with 0 additions and 4 deletions

View File

@ -13,7 +13,6 @@ class AutoActions extends BaseController {
$autoActions = $this->getAll($request);
if (!count($autoActions)) {
$this->logger->addInfo('No automatic actions in database.');
$this->apiJson->addAlert('info',
'No automatic actions in database.');
$this->apiJson->addData([]);

View File

@ -13,7 +13,6 @@ class Boards extends BaseController {
$boards = $this->loadAllBoards($request);
if (!count($boards)) {
$this->logger->addInfo('No boards in database.');
$this->apiJson->addAlert('info', 'No boards in database.');
return $this->jsonResponse($response);

View File

@ -15,8 +15,6 @@ class Invalid extends BaseController {
$this->apiJson->addData($apiReturn);
$this->logger->addInfo('Invalid Endpoint: ', [$this->apiJson]);
return $this->jsonResponse($response);
}