diff --git a/widgets/Widget.php b/widgets/Widget.php index ee6762ef8..87a6f3d43 100644 --- a/widgets/Widget.php +++ b/widgets/Widget.php @@ -38,18 +38,15 @@ class Widget extends DataObject { } function Title() { - $instance = singleton($this->class); - return $instance->uninherited('title', true); + return Object::get_static($this->class, 'title'); } function CMSTitle() { - $instance = singleton($this->class); - return $instance->uninherited('cmsTitle', true); + return Object::get_static($this->class, 'cmsTitle'); } function Description() { - $instance = singleton($this->class); - return $instance->uninherited('description', true); + return Object::get_static($this->class, 'description'); } function DescriptionSegment() {