Commit b0d42082 authored by skummer's avatar skummer

ZP-177

- fixed: return SYNC_FSSTATUS_SYSTEMFOLDER when trying to manipulate a configured folder

git-svn-id: https://z-push.org/svn/z-push/trunk@1385 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 1a357f14
...@@ -132,7 +132,7 @@ class FolderChange extends RequestProcessor { ...@@ -132,7 +132,7 @@ class FolderChange extends RequestProcessor {
// any additional folders can not be modified! // any additional folders can not be modified!
if ($serverid !== false && ZPush::GetAdditionalSyncFolderStore($serverid)) if ($serverid !== false && ZPush::GetAdditionalSyncFolderStore($serverid))
throw new StatusException("HandleFolderChange() can not change additional folders which are configured", SYNC_FSSTATUS_UNKNOWNERROR); throw new StatusException("HandleFolderChange() can not change additional folders which are configured", SYNC_FSSTATUS_SYSTEMFOLDER);
// switch user store if this this happens inside an additional folder // switch user store if this this happens inside an additional folder
// if this is an additional folder the backend has to be setup correctly // if this is an additional folder the backend has to be setup correctly
......
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