From 7e55f796af1d92e52e2ea31bfc4042f49815ada5 Mon Sep 17 00:00:00 2001 From: Bjoern Pedersen <bjoern.pedersen@frm2.tum.de> Date: Tue, 8 Mar 2011 10:53:55 +0100 Subject: [PATCH] [BUGFIX] t3lib_extjs_ExtDirectDebug::__destruct() missing 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 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/t3lib/extjs/class.t3lib_extjs_extdirectdebug.php b/t3lib/extjs/class.t3lib_extjs_extdirectdebug.php index 9c2b92b9f1a9..31809c90f477 100644 --- a/t3lib/extjs/class.t3lib_extjs_extdirectdebug.php +++ b/t3lib/extjs/class.t3lib_extjs_extdirectdebug.php @@ -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. * -- GitLab