Merge branch 'w17_MDL-32512_m23_estrict' of git://github.com/skodak/moodle

This commit is contained in:
Dan Poltawski
2012-04-23 10:22:04 +08:00
-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