From 4c1aba8542d3b7f69fc850aaf54add7c7d10dd26 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 12 Apr 2012 12:02:13 +1200 Subject: [PATCH] BUGFIX Object::get_extensions() is now declared as static, as it was never an instance method --- core/Object.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Object.php b/core/Object.php index 4051da256..22532ea9f 100755 --- a/core/Object.php +++ b/core/Object.php @@ -531,7 +531,7 @@ abstract class Object { * @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) {