MDL-32512 remove deprecated table_sql constructor breaking E_STRICT
This commit is contained in:
@@ -1270,17 +1270,6 @@ class table_sql extends flexible_table {
|
||||
$this->set_attribute('class', 'generaltable generalbox');
|
||||
}
|
||||
|
||||
/**
|
||||
* Backwards-compatible constructor, so that legacy code subclassing
|
||||
* table_sql does not break.
|
||||
* @deprecated since Moodle 2.0. Will be removed in Moodle 2.1.
|
||||
*/
|
||||
function table_sql($uniqueid) {
|
||||
debugging('Please update your code to user PHP5-style parent::__construct(...), ' .
|
||||
'not parent::table_sql(...).');
|
||||
$this->__construct($uniqueid);
|
||||
}
|
||||
|
||||
/**
|
||||
* Take the data returned from the db_query and go through all the rows
|
||||
* processing each col using either col_{columnname} method or other_cols
|
||||
|
||||
Reference in New Issue
Block a user