From 911d55e88df738808313caa9175d8dd70da16b95 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 22 Jul 2003 09:02:35 +0000 Subject: [PATCH] (#2616) added defaultUsersAssigned method to check the folder collaboration steps have default users assigned --- lib/foldermanagement/FolderCollaboration.inc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/lib/foldermanagement/FolderCollaboration.inc b/lib/foldermanagement/FolderCollaboration.inc index 2a4c0f9..12d0938 100644 --- a/lib/foldermanagement/FolderCollaboration.inc +++ b/lib/foldermanagement/FolderCollaboration.inc @@ -218,7 +218,18 @@ class FolderCollaboration { return false; } - - + /** + * Checks whether all the FolderCollaboration objects have the default user set + * + * @param array folder collaboration information for a specific document + * @return true if all default users are set, false otherwise + */ + function defaultUsersAssigned($aFolderCollaboration) { + $bUsersSet = true; + for ($i=0; $igetUserID(); + } + return $bUsersSet; + } } ?> -- libgit2 0.21.4