Permalink
Browse files

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

never an instance method
  • Loading branch information...
1 parent 630bfcc commit 4c1aba8542d3b7f69fc850aaf54add7c7d10dd26 @halkyon halkyon committed Apr 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/Object.php
View
2 core/Object.php
@@ -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) {

0 comments on commit 4c1aba8

Please sign in to comment.