Index: t3lib/class.t3lib_div.php =================================================================== --- t3lib/class.t3lib_div.php (Revision 8804) +++ t3lib/class.t3lib_div.php (Arbeitskopie) @@ -1217,8 +1217,11 @@ * * @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, ','); } Index: typo3/sysext/lowlevel/dbint/index.php =================================================================== --- typo3/sysext/lowlevel/dbint/index.php (Revision 8804) +++ typo3/sysext/lowlevel/dbint/index.php (Arbeitskopie) @@ -484,7 +484,7 @@ // Tables and lost records $id_list = '-1,0,'.implode(array_keys($admin->page_idArray),','); - $id_list = t3lib_div::rm_endcomma($id_list); + $id_list = rtrim($id_list, ','); $admin->lostRecords($id_list); if ($admin->fixLostRecord(t3lib_div::_GET('fixLostRecords_table'),t3lib_div::_GET('fixLostRecords_uid'))) { @@ -492,7 +492,7 @@ $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 = rtrim($id_list, ','); $admin->lostRecords($id_list); }