Commit a2fa2af09a0f37f0cc35d5e4a47085d6efef0edc

Authored by michael
1 parent 3fc2b2d0

removed duplicate getFromFolderCollaboration method


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@935 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/foldermanagement/FolderUserRole.inc
... ... @@ -170,24 +170,6 @@ class FolderUserRole {
170 170 $_SESSION["errorMessage"] = $lang_err_database;
171 171 return false;
172 172 }
173   -
174   - function & getFromFolderCollaboration($iFolderCollaborationID) {
175   - global $default;
176   - $sql = $default->db;
177   - $result = $sql->query("SELECT * FROM $default->owl_folders_user_roles_table WHERE group_folder_approval_id = $iFolderCollaborationID");
178   - if ($result) {
179   - if ($sql->next_record()) {
180   - $oFolderUserRole = & new FolderUserRole($sql->f("user_id"), $sql->f("document_id"), $sql->f("group_folder_approval_id"), $sql->f("done"));
181   - $oFolderUserRole->iId = $iFolderUserRoleID;
182   - $oFolderUserRole->bDateTime = $sql->f("datetime");
183   - return $oFolderUserRole;
184   - }
185   - $_SESSION["errorMessage"] = $lang_err_object_not_exist . "id = " . $iFolderUserRoleID . " table = $default->owl_folders_user_roles_table";
186   - return false;
187   - }
188   - $_SESSION["errorMessage"] = $lang_err_database;
189   - return false;
190   - }
191 173  
192 174 /**
193 175 * Static function
... ...