Skip to content

Commit

Permalink
BUGFIX Object::get_extensions() is now declared as static, as it was
Browse files Browse the repository at this point in the history
never an instance method
  • Loading branch information
Sean Harvey committed Apr 12, 2012
1 parent 630bfcc commit 4c1aba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Object.php
Expand Up @@ -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) {
Expand Down

0 comments on commit 4c1aba8

Please sign in to comment.