Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX Object::get_extensions() is now declared as static, as it was

never an instance method
  • Loading branch information...
commit 4c1aba8542d3b7f69fc850aaf54add7c7d10dd26 1 parent 630bfcc
Sean Harvey halkyon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  core/Object.php
2  core/Object.php
View
@@ -531,7 +531,7 @@ public static function remove_extension($class, $extension) {
* @return array Numeric array of either {@link DataExtension} classnames,
* or eval'ed classname strings with constructor arguments.
*/
- function get_extensions($class, $includeArgumentString = false) {
+ public static function get_extensions($class, $includeArgumentString = false) {
$extensions = Config::inst()->get($class, 'extensions');
if($includeArgumentString) {
Please sign in to comment.
Something went wrong with that request. Please try again.