Component notifications can be silenced. Closes #2316

This commit is contained in:
James Brooks
2017-01-16 20:48:00 +00:00
parent 7c50932d01
commit 8725ab2b9b
8 changed files with 44 additions and 9 deletions

View File

@@ -120,7 +120,8 @@ class ComponentController extends AbstractApiController
Binput::get('order'),
Binput::get('group_id'),
(bool) Binput::get('enabled', true),
Binput::get('meta', null)
Binput::get('meta', null),
(bool) Binput::get('silent', false)
));
} catch (QueryException $e) {
throw new BadRequestHttpException();