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

never an instance method
This commit is contained in:
Sean Harvey 2012-04-12 12:02:13 +12:00
parent 630bfcc823
commit 4c1aba8542

View File

@ -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) {