Declared t3lib_div::readLLPHPfile() and t3lib_div::removeXSS() static
authorIngo Renner <ingo.renner@typo3.org>
Wed, 3 Sep 2008 18:06:44 +0000 (18:06 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Wed, 3 Sep 2008 18:06:44 +0000 (18:06 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4057 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_div.php

index 4e93e57..52dc66d 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2008-09-03  Ingo Renner  <ingo@typo3.org>
 
        * Added feature #9281: Add a method to easily do a HTTP redirect
+       * Declared t3lib_div::readLLPHPfile() and t3lib_div::removeXSS() static
 
 2008-09-02  Stanislas Rolland  <typo3@sjbr.ca>
 
index 933a926..6c49915 100755 (executable)
@@ -378,7 +378,7 @@ final class t3lib_div {
         * @param       string          Input string
         * @return      string          Input string with potential XSS code removed
         */
-       public function removeXSS($string)      {
+       public static function removeXSS($string)       {
                require_once(PATH_typo3.'contrib/RemoveXSS/RemoveXSS.php');
                $string = RemoveXSS::RemoveXSS($string);
                return $string;
@@ -4032,7 +4032,7 @@ final class t3lib_div {
         * @param       string          Character set (optional)
         * @return      array           LOCAL_LANG array in return.
         */
-       function readLLPHPfile($fileRef, $langKey, $charset='') {
+       public static function readLLPHPfile($fileRef, $langKey, $charset='')   {
 
                if (is_object($GLOBALS['LANG']))        {
                        $csConvObj = &$GLOBALS['LANG']->csConvObj;