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

Commit

Permalink
feat(policy): add policy for airplane mode
Browse files Browse the repository at this point in the history
fix #183
  • Loading branch information
btry authored and DIOHz0r committed Nov 15, 2017
1 parent 02b096e commit 263d036
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 @@ -1243,6 +1243,23 @@ static public function getPolicies() {
'is_android_system' => '1',
'is_apple_policy' => '0',
],

[
'name' => __('Disable airplane mode', 'flyvemdm'),
'symbol' => 'disableAirplaneMode',
'group' => 'connectivity',
'type' => 'bool',
'type_data' => '',
'unicity' => 1,
'plugin_flyvemdm_policycategories_id' => 5,
'comment' => __('Disable airplane mode', '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 263d036

Please sign in to comment.