Commit fcc5d2e188caa417f942bd68b1b11807cb551bfe

Authored by Neil Blakey-Milner
1 parent 6e32a433

Disable getBrowseableFolders until I can think of a way to re-implement

it with the new permissions system.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3515 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 4 additions and 0 deletions
lib/dashboard/Dashboard.inc
@@ -151,6 +151,9 @@ class Dashboard { @@ -151,6 +151,9 @@ class Dashboard {
151 * Retrieves Browseable Folders for this user 151 * Retrieves Browseable Folders for this user
152 */ 152 */
153 function getBrowseableFolders() { 153 function getBrowseableFolders() {
  154 + return;
  155 +
  156 + /*
154 global $default; 157 global $default;
155 $sQuery = array("SELECT DISTINCT F.id as folderid, F.parent_id as parentfolderid " . 158 $sQuery = array("SELECT DISTINCT F.id as folderid, F.parent_id as parentfolderid " .
156 "FROM $default->folders_table F, $default->groups_folders_table GFL, $default->users_groups_table UGL " . 159 "FROM $default->folders_table F, $default->groups_folders_table GFL, $default->users_groups_table UGL " .
@@ -168,6 +171,7 @@ class Dashboard { @@ -168,6 +171,7 @@ class Dashboard {
168 $aShowedFolderList[$sql->f("folderid")] = 1; // check the showed folder 171 $aShowedFolderList[$sql->f("folderid")] = 1; // check the showed folder
169 } 172 }
170 return $aBrowseableList; 173 return $aBrowseableList;
  174 + */
171 } 175 }
172 176
173 } 177 }