API-CHANGE: adding a default option of null to the $args argument in DataExtension::add_to_class. The args argument isn't used anywhere in the class and adding a third argument to every call to this function is tedious.

This commit is contained in:
Julian Seidenberg 2012-04-05 13:45:48 +12:00
parent 6c697e5d05
commit e76913f811

View File

@ -32,7 +32,7 @@ abstract class DataExtension extends Extension {
);
static function add_to_class($class, $extensionClass, $args) {
static function add_to_class($class, $extensionClass, $args = null) {
if(method_exists($class, 'extraDBFields')) {
$extraStaticsMethod = 'extraDBFields';
} else {