Feature #22249 » patch-usersfilemountsinworkspace.patch
t3lib/class.t3lib_userauthgroup.php (working copy) | ||
---|---|---|
1526 | 1526 |
} |
1527 | 1527 |
} |
1528 | 1528 | |
1529 |
$this->dataLists['filemount_list'] = t3lib_div::uniqueList($this->dataLists['filemount_list']); |
|
1530 |
if ($this->dataLists['filemount_list']) { |
|
1531 |
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 'sys_filemounts', 'deleted=0 AND hidden=0 AND pid=0 AND uid IN ('.$this->dataLists['filemount_list'].')'); |
|
1532 |
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) { |
|
1533 |
$this->addFileMount($row['title'], $row['path'], $row['path'], $row['base']?1:0, ''); |
|
1534 |
} |
|
1535 |
} |
|
1536 | ||
1529 | 1537 |
if ($allowed_languages = $this->getTSConfigVal('options.workspaces.allowed_languages.'.$this->workspace)) { |
1530 | 1538 |
$this->groupData['allowed_languages'] = $allowed_languages; |
1531 | 1539 |
$this->groupData['allowed_languages'] = t3lib_div::uniqueList($this->groupData['allowed_languages']); |
... | ... | |
1827 | 1835 |
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_userauthgroup.php']); |
1828 | 1836 |
} |
1829 | 1837 | |
1830 |
?> |
|
1838 |
?> |