Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUG Calling extraStatics() with args (regression from fa37c44)

  • Loading branch information...
commit fb6efb9d212da1ad05f77f03ac8a0bab726ebc18 1 parent d24ea5e
@chillu chillu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  model/DataExtension.php
2  model/DataExtension.php
@@ -38,7 +38,7 @@ static function get_extra_config($class, $extension, $args) {
$extraStaticsMethod = 'extraStatics';
- $statics = Injector::inst()->get($extension, true, $args)->$extraStaticsMethod();
+ $statics = Injector::inst()->get($extension, true, $args)->$extraStaticsMethod($class, $extension);
if ($statics) {
Deprecation::notice('3.1.0', "$extraStaticsMethod deprecated. Just define statics on your extension, or use get_extra_config", Deprecation::SCOPE_GLOBAL);
Please sign in to comment.
Something went wrong with that request. Please try again.