Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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.
  • Loading branch information...
commit e76913f811c70334f392810e40720588d802ba73 1 parent 6c697e5
Julian Seidenberg candidasa authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  model/DataExtension.php
2  model/DataExtension.php
View
@@ -32,7 +32,7 @@
);
- 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 {
Please sign in to comment.
Something went wrong with that request. Please try again.