Commit c1be658c authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-770 Fix typos.

Released under the Affero GNU General Public License (AGPL) version 3.
parent a8e1eb29
......@@ -517,7 +517,7 @@ class ZPushAdmin {
* @param string $devid device id the folder should be added to.
* @param string $add_store the store where this folder is located, e.g. "SYSTEM" (for public folder) or a username.
* @param string $add_folderid the folder id of the additional folder.
* @param string $add_name the name of the addtional folder (has to be unique for all folders on the device).
* @param string $add_name the name of the additional folder (has to be unique for all folders on the device).
* @param string $add_type AS foldertype of SYNC_FOLDER_TYPE_USER_*
*
* @access public
......@@ -529,7 +529,7 @@ class ZPushAdmin {
try {
// set device data
$device->SetData(ZPush::GetStateMachine()->GetState($devid, IStateMachine::DEVICEDATA), false);
// get the lastest hierarchy counter
// get the last hierarchy counter
$spa = ZPush::GetStateMachine()->GetState($devid, IStateMachine::FOLDERDATA, $device->GetFolderUUID());
list($uuid, $counter) = StateManager::ParseStateKey($spa->GetSyncKey());
// instantiate hierarchycache
......@@ -560,7 +560,7 @@ class ZPushAdmin {
* @param string $user user of the device.
* @param string $devid device id of where the folder should be updated.
* @param string $add_folderid the folder id of the additional folder.
* @param string $add_name the name of the addtional folder (has to be unique for all folders on the device).
* @param string $add_name the name of the additional folder (has to be unique for all folders on the device).
*
* @access public
* @return boolean
......@@ -571,7 +571,7 @@ class ZPushAdmin {
try {
// set device data
$device->SetData(ZPush::GetStateMachine()->GetState($devid, IStateMachine::DEVICEDATA), false);
// get the lastest hierarchy counter
// get the last hierarchy counter
$spa = ZPush::GetStateMachine()->GetState($devid, IStateMachine::FOLDERDATA, $device->GetFolderUUID());
list($uuid, $counter) = StateManager::ParseStateKey($spa->GetSyncKey());
// instantiate hierarchycache
......
......@@ -159,7 +159,7 @@ class WebserviceDevice {
/**
* Returns a list of all additional folders of the given device and the Request::GetGETUser().
*
* @param string $devid device id that should be listed.
* @param string $deviceId device id that should be listed.
*
* @access public
* @return array
......@@ -177,10 +177,10 @@ class WebserviceDevice {
/**
* Adds an additional folder to the given device and the Request::GetGETUser().
*
* @param string $devid device id the folder should be added to.
* @param string $deviceId device id the folder should be added to.
* @param string $add_store the store where this folder is located, e.g. "SYSTEM" (for public folder) or an username/email address.
* @param string $add_folderid the folder id of the additional folder.
* @param string $add_name the name of the addtional folder (has to be unique for all folders on the device).
* @param string $add_name the name of the additional folder (has to be unique for all folders on the device).
* @param string $add_type AS foldertype of SYNC_FOLDER_TYPE_USER_*
*
* @access public
......@@ -206,9 +206,9 @@ class WebserviceDevice {
/**
* Updates the name of an additional folder to the given device and the Request::GetGETUser().
*
* @param string $devid device id of where the folder should be updated.
* @param string $deviceId device id of where the folder should be updated.
* @param string $add_folderid the folder id of the additional folder.
* @param string $add_name the name of the addtional folder (has to be unique for all folders on the device).
* @param string $add_name the name of the additional folder (has to be unique for all folders on the device).
*
* @access public
* @return boolean
......@@ -232,7 +232,7 @@ class WebserviceDevice {
/**
* Removes an additional folder from the given device and the Request::GetGETUser().
*
* @param string $devid device id of where the folder should be removed.
* @param string $deviceId device id of where the folder should be removed.
* @param string $add_folderid the folder id of the additional folder.
*
* @access public
......
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