Commit ad071de1 authored by Manfred Kutas's avatar Manfred Kutas

ZP-77 Fixed typo in allowstoragecard policy name (was allostoragecard).

Released under the Affero GNU General Public License (AGPL) version 3.
parent e37e1c6d
...@@ -63,7 +63,7 @@ class SyncProvisioning extends SyncObject { ...@@ -63,7 +63,7 @@ class SyncProvisioning extends SyncObject {
public $devpwhistory; public $devpwhistory;
//AS 12.1 and 14.0 props //AS 12.1 and 14.0 props
public $allostoragecard; public $allowstoragecard;
public $allowcam; public $allowcam;
public $reqdevenc; public $reqdevenc;
public $allowunsignedapps; public $allowunsignedapps;
...@@ -140,7 +140,7 @@ class SyncProvisioning extends SyncObject { ...@@ -140,7 +140,7 @@ class SyncProvisioning extends SyncObject {
if(Request::GetProtocolVersion() >= 12.1) { if(Request::GetProtocolVersion() >= 12.1) {
$mapping += array ( $mapping += array (
SYNC_PROVISION_ALLOWSTORAGECARD => array ( self::STREAMER_VAR => "allostoragecard", SYNC_PROVISION_ALLOWSTORAGECARD => array ( self::STREAMER_VAR => "allowstoragecard",
self::STREAMER_CHECKS => array( self::STREAMER_CHECK_ONEVALUEOF => array(0,1) )), self::STREAMER_CHECKS => array( self::STREAMER_CHECK_ONEVALUEOF => array(0,1) )),
SYNC_PROVISION_ALLOWCAM => array ( self::STREAMER_VAR => "allowcam", SYNC_PROVISION_ALLOWCAM => array ( self::STREAMER_VAR => "allowcam",
...@@ -275,7 +275,7 @@ class SyncProvisioning extends SyncObject { ...@@ -275,7 +275,7 @@ class SyncProvisioning extends SyncObject {
$this->devpwhistory = 0; $this->devpwhistory = 0;
//AS 12.1 and 14.0 props //AS 12.1 and 14.0 props
$this->allostoragecard = 1; $this->allowstoragecard = 1;
$this->allowcam = 1; $this->allowcam = 1;
$this->reqdevenc = 0; $this->reqdevenc = 0;
$this->allowunsignedapps = 1; $this->allowunsignedapps = 1;
......
...@@ -996,7 +996,7 @@ class Utils { ...@@ -996,7 +996,7 @@ class Utils {
'devpwhistory' => 0, 'devpwhistory' => 0,
//AS 12.1 and above properties //AS 12.1 and above properties
'allostoragecard' => 1, 'allowstoragecard' => 1,
'allowcam' => 1, 'allowcam' => 1,
'reqdevenc' => 0, 'reqdevenc' => 0,
'allowunsignedapps' => 1, 'allowunsignedapps' => 1,
......
...@@ -85,7 +85,7 @@ devpwhistory = 0 ...@@ -85,7 +85,7 @@ devpwhistory = 0
; The device allows to use a storage card. ; The device allows to use a storage card.
; 0 - SD card not allowed. ; 0 - SD card not allowed.
; 1 - SD card allowed. ; 1 - SD card allowed.
allostoragecard = 1 allowstoragecard = 1
; The device allows to use the built-in camera. ; The device allows to use the built-in camera.
; 0 - Usage of the built-in camera not allowed. ; 0 - Usage of the built-in camera not allowed.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment