Skip to content
This repository
Browse code

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 authored April 12, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  core/Object.php
2  core/Object.php
@@ -531,7 +531,7 @@ public static function remove_extension($class, $extension) {
531 531
 	 * @return array Numeric array of either {@link DataExtension} classnames,
532 532
 	 *  or eval'ed classname strings with constructor arguments.
533 533
 	 */
534  
-	function get_extensions($class, $includeArgumentString = false) {
  534
+	public static function get_extensions($class, $includeArgumentString = false) {
535 535
 		$extensions = Config::inst()->get($class, 'extensions');
536 536
 
537 537
 		if($includeArgumentString) {

0 notes on commit 4c1aba8

Please sign in to comment.
Something went wrong with that request. Please try again.