[BUGFIX] t3lib_extjs_ExtDirectDebug::__destruct() missing
authorBjoern Pedersen <bjoern.pedersen@frm2.tum.de>
Tue, 8 Mar 2011 09:53:55 +0000 (10:53 +0100)
committerGeorg Ringer <mail@ringerge.org>
Tue, 7 Jun 2011 06:26:58 +0000 (08:26 +0200)
In the Developer Logs there are complaints about the missing destructor.
Fix: add it.

Change-Id: I42595a7ebbc3c941bf64bc0699ff908059c107bb
Resolves: #25278
Reviewed-on: http://review.typo3.org/1092
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
Reviewed-by: Oliver Klee
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
t3lib/extjs/class.t3lib_extjs_extdirectdebug.php

index 9c2b92b..31809c9 100644 (file)
@@ -39,6 +39,22 @@ class t3lib_extjs_ExtDirectDebug {
         */
        protected $debugMessages = array();
 
+
+       /**
+        * destructor
+        *
+        * Currently empty, but automatically registered and called during
+        * ExtDirect shutdown.
+        *
+        * @see http://bugs.typo3.org/view.php?id=17891
+        * @see http://forge.typo3.org/issues/25278
+        */
+       public function __destruct() {
+
+       /* currently empty */
+       }
+
+
        /**
         * Adds a new message of any data type to the internal debug message array.
         *