Bug #23605 » 15801_rm_endcomma_v3.patch
t3lib/class.t3lib_div.php (revision ) | ||
---|---|---|
*
|
||
* @param string String from which the comma in the end (if any) will be removed.
|
||
* @return string
|
||
* @deprecated since TYPO3 4.5, will be removed in TYPO3 4.7 - Use rtrim() directly
|
||
*/
|
||
public static function rm_endcomma($string) {
|
||
self::logDeprecatedFunction();
|
||
return rtrim($string, ',');
|
||
}
|
||
typo3/sysext/lowlevel/dbint/index.php (revision ) | ||
---|---|---|
}
|
||
// Tables and lost records
|
||
$id_list = '-1,0,'.implode(array_keys($admin->page_idArray),',');
|
||
$id_list = t3lib_div::rm_endcomma($id_list);
|
||
$id_list = '-1,0,' . implode(',', array_keys($admin->page_idArray));
|
||
$id_list = rtrim($id_list, ',');
|
||
$admin->lostRecords($id_list);
|
||
if ($admin->fixLostRecord(t3lib_div::_GET('fixLostRecords_table'),t3lib_div::_GET('fixLostRecords_uid'))) {
|
||
if ($admin->fixLostRecord(t3lib_div::_GET('fixLostRecords_table'), t3lib_div::_GET('fixLostRecords_uid'))) {
|
||
$admin = t3lib_div::makeInstance('t3lib_admin');
|
||
$admin->backPath = $BACK_PATH;
|
||
$admin->genTree(0,'');
|
||
$id_list = '-1,0,'.implode(array_keys($admin->page_idArray),',');
|
||
$id_list = t3lib_div::rm_endcomma($id_list);
|
||
$id_list = '-1,0,' . implode(',', array_keys($admin->page_idArray));
|
||
$id_list = rtrim($id_list, ',');
|
||
$admin->lostRecords($id_list);
|
||
}
|
||
- « Previous
- 1
- 2
- Next »