Merge pull request #496 from korthjp17/bugfix/widgetNameSpacing

fixed namespacing for widgets
This commit is contained in:
Robbie Averill 2018-01-09 10:19:01 +13:00 committed by GitHub
commit e4d389aeb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
{