MDL-32512 remove deprecated table_sql constructor breaking E_STRICT

This commit is contained in:
Petr Skoda
2012-04-21 11:26:14 +02:00
parent ead4f180a0
commit 7e41a08d7a
-11
View File
@@ -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