Fixed bug #12393: Log deprecated method call in t3lib_stdgraphic and remove the metho...
authorSteffen Kamper <info@sk-typo3.de>
Sat, 31 Oct 2009 15:05:39 +0000 (15:05 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Sat, 31 Oct 2009 15:05:39 +0000 (15:05 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6306 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_stdgraphic.php

index 83c3e1f..aa74465 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2009-10-31  Steffen Kamper  <info@sk-typo3.de>
 
+       * Fixed bug #12393: Log deprecated method call in t3lib_stdgraphic and remove the method in 4.4 (thanks to Xavier Perseguers)
        * Fixed bug #12394: Log deprecated method call in t3lib_tceforms_inline and remove the methods in 4.4 (thanks to Xavier Perseguers)
 
 2009-10-30  Francois Suter  <francois@typo3.org>
index 06a4c78..ae5defb 100644 (file)
@@ -2936,9 +2936,11 @@ class t3lib_stdGraphic   {
         * @param       string          The filename to write to
         * @return      mixed           The output of either imageGif, imagePng or imageJpeg based on the filename to write
         * @see imageWrite()
-        * @deprecated since TYPO3 4.0
+        * @deprecated since TYPO3 4.0, this function will be removed in TYPO3 4.5.
         */
        function imageGif($destImg, $theImage)  {
+               t3lib_div::logDeprecatedFunction();
+
                return $this->imageWrite($destImg, $theImage);
        }
 
@@ -2948,9 +2950,11 @@ class t3lib_stdGraphic   {
         *
         * @param       string          Image filename
         * @return      pointer         Image Resource pointer
-        * @deprecated since TYPO3 4.0
+        * @deprecated since TYPO3 4.0, this function will be removed in TYPO3 4.5.
         */
        function imageCreateFromGif($sourceImg) {
+               t3lib_div::logDeprecatedFunction();
+
                return $this->imageCreateFromFile($sourceImg);
        }