Cleanup #10125: Replace deprecated function calls in sysext indexed_search
authorFrancois Suter <francois.suter@typo3.org>
Sun, 18 Jan 2009 16:28:40 +0000 (16:28 +0000)
committerFrancois Suter <francois.suter@typo3.org>
Sun, 18 Jan 2009 16:28:40 +0000 (16:28 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@4745 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/indexed_search/mod/index.php

index 3c14aad..26882dd 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-18  Francois Suter  <francois@typo3.org>
+
+        * Cleanup #10125: Replace deprecated function calls in sysext indexed_search
+
 2009-01-17  Oliver Hader  <oliver@typo3.org>
 
        * Fixed bug #7677: Constants are not correctly substituted on some PHP5 distributions
index 476d8fc..f5ddd85 100755 (executable)
@@ -306,7 +306,7 @@ class SC_mod_tools_isearch_index {
                        $grListRec = $this->getGrlistRecord($row["phash"]);
                        $recList[] = array(
                                $row["data_page_id"].($row["data_page_type"]?"/".$row["data_page_type"]:""),
-                               t3lib_div::fixed_lgd($row["item_title"],30),
+                               t3lib_div::fixed_lgd_cs($row["item_title"],30),
                                t3lib_div::formatSize($row["item_size"]),
                                $this->getNumberOfWords($row["phash"]),
                                t3lib_BEfunc::datetime($row["item_mtime"]),
@@ -373,7 +373,7 @@ class SC_mod_tools_isearch_index {
                        $cHash = count(unserialize($row["cHashParams"])) ? $this->formatCHash(unserialize($row["cHashParams"])) : "";
                        $grListRec = $this->getGrlistRecord($row["phash"]);
                        $recList[]=array(
-                               t3lib_div::fixed_lgd($row["item_title"],30),
+                               t3lib_div::fixed_lgd_cs($row["item_title"],30),
                                t3lib_div::formatSize($row["item_size"]),
                                $this->getNumberOfWords($row["phash"]),
                                t3lib_BEfunc::datetime($row["item_mtime"]),
@@ -384,7 +384,7 @@ class SC_mod_tools_isearch_index {
                                $row["pcount"],
                                $cHash,
                                $row["phash"],
-                               t3lib_div::fixed_lgd($row["data_filename"],100)
+                               t3lib_div::fixed_lgd_cs($row["data_filename"],100)
                        );
 
                        if ($row["pcount"]>1)   {