Commit bab03281 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #222 in ZP/z-push from...

Merge pull request #222 in ZP/z-push from feature/ZP-914-koe-hide-z-push-koe-gab-folder-automatically to develop

* commit '676aa564':
  ZP-914 Hide GAB folder, fix missing parenthesis in config.
parents 2e99fc64 676aa564
...@@ -60,13 +60,13 @@ define('UNIQUEID', 'account'); ...@@ -60,13 +60,13 @@ define('UNIQUEID', 'account');
// Examples: define("SERVER", "default:"); // Examples: define("SERVER", "default:");
// define("SERVER", "http://localhost:236/kopano"); // define("SERVER", "http://localhost:236/kopano");
// define("SERVER", "https://localhost:237/kopano"); // define("SERVER", "https://localhost:237/kopano");
// define("SERVER", "file:///var/run/kopano/server.sock"; // define("SERVER", "file:///var/run/kopano/server.sock)";
// If you are using ZCP >= 7.2.0, set it to the zarafa location, e.g. // If you are using ZCP >= 7.2.0, set it to the zarafa location, e.g.
// define("SERVER", "http://localhost:236/zarafa"); // define("SERVER", "http://localhost:236/zarafa");
// define("SERVER", "https://localhost:237/zarafa"); // define("SERVER", "https://localhost:237/zarafa");
// define("SERVER", "file:///var/run/zarafad/server.sock"; // define("SERVER", "file:///var/run/zarafad/server.sock)";
// For ZCP versions prior to 7.2.0 the socket location is different (http(s) sockets are the same): // For ZCP versions prior to 7.2.0 the socket location is different (http(s) sockets are the same):
// define("SERVER", "file:///var/run/zarafa"; // define("SERVER", "file:///var/run/zarafa");
define('SERVER', 'default:'); define('SERVER', 'default:');
......
...@@ -103,8 +103,7 @@ class Kopano extends SyncWorker { ...@@ -103,8 +103,7 @@ class Kopano extends SyncWorker {
if (mapi_last_hresult()) if (mapi_last_hresult())
$this->Terminate(sprintf("Kopano->CreateHiddenFolder(): Error, mapi_folder_createfolder() failed: 0x%08X", mapi_last_hresult())); $this->Terminate(sprintf("Kopano->CreateHiddenFolder(): Error, mapi_folder_createfolder() failed: 0x%08X", mapi_last_hresult()));
// TODO: set PR_HIDDEN mapi_setprops($newfolder, array(PR_CONTAINER_CLASS => "IPF.Appointment", PR_ATTR_HIDDEN => true));
mapi_setprops($newfolder, array(PR_CONTAINER_CLASS => "IPF.Appointment"));
$props = mapi_getprops($newfolder, array(PR_SOURCE_KEY)); $props = mapi_getprops($newfolder, array(PR_SOURCE_KEY));
if (isset($props[PR_SOURCE_KEY])) { if (isset($props[PR_SOURCE_KEY])) {
......
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