summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b88a6f3)
raw | patch | inline | side by side (parent: b88a6f3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 14 Oct 2010 16:05:52 +0000 (16:05 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 14 Oct 2010 16:05:52 +0000 (16:05 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20048 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/groupware/admin/groups/GroupwareSharedFolder/class_GroupwareSharedFolder.inc | patch | blob | history |
diff --git a/gosa-plugins/groupware/admin/groups/GroupwareSharedFolder/class_GroupwareSharedFolder.inc b/gosa-plugins/groupware/admin/groups/GroupwareSharedFolder/class_GroupwareSharedFolder.inc
index 4a6cad9f3633f0bccb2825b7ddbf3344bc3ea2d9..b08e321c0fc8f07b2c40142b5e203fca9e49dfc3 100644 (file)
$entry['name'] = $name;
$entry['status'] = '';
$acls = array();
-# $acls = $rpc->gwFolderGetMembers($path);
-# if(!$rpc->success()){
-# $this->rpcError = TRUE;
-# $this->rpcErrorMessage = $rpc->get_error();
-# $message = sprintf(_("Failed to load permissions for folder '%s'! Error was: '%s'."),
-# $path,$rpc->get_error());
-# msg_dialog::display(_("Error"),msgPool::rpcError($message), ERROR_DIALOG);
-# return;
-# }
+ $acls = $rpc->gwFolderGetMembers($path);
+ if(!$rpc->success()){
+ $this->rpcError = TRUE;
+ $this->rpcErrorMessage = $rpc->get_error();
+ $message = sprintf(_("Failed to load permissions for folder '%s'! Error was: '%s'."),
+ $path,$rpc->get_error());
+ msg_dialog::display(_("Error"),msgPool::rpcError($message), ERROR_DIALOG);
+ return;
+ }
$entry['acls'] = $acls;
$folderList[$path] = $entry;
}