Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
feat(policy): disable all notifications on device
Browse files Browse the repository at this point in the history
Signed-off-by: Domingo Oropeza <[email protected]>
  • Loading branch information
DIOHz0r committed Apr 13, 2018
1 parent 153ca96 commit 63299e3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions install/installer.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1375,6 +1375,23 @@ static public function getPolicies() {
'is_android_system' => '0',
'is_apple_policy' => '1',
],

[
'name' => __('Disable all notifications', 'flyvemdm'),
'symbol' => 'disableAllNotifications',
'group' => 'ui',
'type' => 'bool',
'type_data' => '',
'unicity' => 1,
'plugin_flyvemdm_policycategories_id' => 'Security > User interface',
'comment' => __('Disable any form of notification.',
'flyvemdm'),
'default_value' => '0',
'recommended_value' => '0',
'is_android_policy' => '1',
'is_android_system' => '1',
'is_apple_policy' => '0',
],
];

// Restore user's locale
Expand Down

0 comments on commit 63299e3

Please sign in to comment.