From 2ea47082f090e8fce3753ecbbc811fdff229d454 Mon Sep 17 00:00:00 2001 From: Marina Glancy Date: Thu, 24 May 2012 09:39:06 +0800 Subject: [PATCH] MDL-33479 removed legacy constructor causing strict notice in php5 --- lib/tablelib.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/tablelib.php b/lib/tablelib.php index e991bea1993..b8105642cfd 100644 --- a/lib/tablelib.php +++ b/lib/tablelib.php @@ -131,17 +131,6 @@ class flexible_table { ); } - /** - * Backwards-compatible constructor, so that legacy code subclassing - * flexible_table does not break. - * @deprecated since Moodle 2.0. Will be removed in Moodle 2.1. - */ - function flexible_table($uniqueid) { - debugging('Please update your code to user PHP5-style parent::__construct(...), ' . - 'not parent::flexible_table(...).'); - $this->__construct($uniqueid); - } - /** * Call this to pass the download type. Use : * $download = optional_param('download', '', PARAM_ALPHA);