fixed namespacing for widgets

fixes #495
This commit is contained in:
Jason Korth 2018-01-04 14:07:28 -06:00
parent ae72dbe166
commit 64437b974d
5 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ if (!class_exists('\\SilverStripe\\Widgets\\Model\\Widget')) {
return;
}
use SilverStripe\Widgets\Controllers\WidgetController;
use SilverStripe\Widgets\Model\WidgetController;
class BlogArchiveWidgetController extends WidgetController
{

View File

@ -6,7 +6,7 @@ if (!class_exists('\\SilverStripe\\Widgets\\Model\\Widget')) {
return;
}
use SilverStripe\Widgets\Controllers\WidgetController;
use SilverStripe\Widgets\Model\WidgetController;
class BlogCategoriesWidgetController extends WidgetController
{

View File

@ -6,7 +6,7 @@ if (!class_exists('\\SilverStripe\\Widgets\\Model\\Widget')) {
return;
}
use SilverStripe\Widgets\Controllers\WidgetController;
use SilverStripe\Widgets\Model\WidgetController;
class BlogRecentPostsWidgetController extends WidgetController
{

View File

@ -6,7 +6,7 @@ if (!class_exists('\\SilverStripe\\Widgets\\Model\\Widget')) {
return;
}
use SilverStripe\Widgets\Controllers\WidgetController;
use SilverStripe\Widgets\Model\WidgetController;
class BlogTagsCloudWidgetController extends WidgetController
{

View File

@ -6,7 +6,7 @@ if (!class_exists('\\SilverStripe\\Widgets\\Model\\Widget')) {
return;
}
use SilverStripe\Widgets\Controllers\WidgetController;
use SilverStripe\Widgets\Model\WidgetController;
class BlogTagsWidgetController extends WidgetController
{