mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-33479 removed legacy constructor causing strict notice in php5
This commit is contained in:
parent
4db061680e
commit
2ea47082f0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user