Project

General

Profile

Bug #22070 » 13444_v4_trunk.diff

Administrator Admin, 2010-02-07 15:37

View differences:

t3lib/class.t3lib_userauthgroup.php (working copy)
}
// Processing filemounts
t3lib_div::loadTCA('sys_filemounts');
$orderBy = $GLOBALS['TCA']['sys_filemounts']['ctrl']['sortby'] ? $GLOBALS['TCA']['sys_filemounts']['ctrl']['sortby'] : '';
$this->dataLists['filemount_list'] = t3lib_div::uniqueList($this->dataLists['filemount_list']);
if ($this->dataLists['filemount_list']) {
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 'sys_filemounts', 'deleted=0 AND hidden=0 AND pid=0 AND uid IN ('.$this->dataLists['filemount_list'].')');
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 'sys_filemounts', 'deleted=0 AND hidden=0 AND pid=0 AND uid IN ('.$this->dataLists['filemount_list'].')', '', $orderBy);
while ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
$this->addFileMount($row['title'], $row['path'], $row['path'], $row['base']?1:0, '');
}
t3lib/stddb/tables.php (working copy)
'ctrl' => array(
'label' => 'title',
'tstamp' => 'tstamp',
'sortby' => 'sorting',
'prependAtCopy' => 'LLL:EXT:lang/locallang_general.php:LGL.prependAtCopy',
'title' => 'LLL:EXT:lang/locallang_tca.php:sys_filemounts',
'adminOnly' => 1,
t3lib/stddb/tables.sql (working copy)
base tinyint(4) unsigned DEFAULT '0' NOT NULL,
hidden tinyint(3) unsigned DEFAULT '0' NOT NULL,
deleted tinyint(1) unsigned DEFAULT '0' NOT NULL,
sorting int(11) unsigned DEFAULT '0' NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
);
(4-4/4)