mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Update BlogManagementWidget.php
If BlogManagementWidget class implements PermissionProvider, Blog module can't be used without Widgets Module. In Admin, all Classes, that implements PermissionProvider are loaded, but no widgets class (if the widgets module isn't installed)
This commit is contained in:
parent
b8c6bfd3ee
commit
616dd950e9
@ -3,7 +3,7 @@
|
||||
* Blog Management Widget
|
||||
* @package blog
|
||||
*/
|
||||
class BlogManagementWidget extends Widget implements PermissionProvider {
|
||||
class BlogManagementWidget extends Widget {
|
||||
static $db = array();
|
||||
|
||||
static $has_one = array();
|
||||
|
Loading…
Reference in New Issue
Block a user