MDL-24276 "static abstract" combination is deprecated since PHP 5.2, replacing with our coding_style exception

This commit is contained in:
Petr Skoda
2010-09-19 18:43:52 +00:00
parent dc157e0903
commit 7c109ea3f0
12 changed files with 61 additions and 23 deletions
+1 -1
View File
@@ -1188,7 +1188,7 @@ abstract class sql_generator {
* @return array of reserved words
*/
public static function getReservedWords() {
return array();
throw new coding_exception('getReservedWords() method needs to be overridden in each subclass of sql_generator');
}
/**