MDL-33479 removed legacy constructor causing strict notice in php5

This commit is contained in:
Marina Glancy 2012-05-24 09:39:06 +08:00
parent 4db061680e
commit 2ea47082f0

View File

@ -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);