mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Object::get_extensions() is now declared as static, as it was
never an instance method
This commit is contained in:
parent
630bfcc823
commit
4c1aba8542
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user