From 616dd950e9bc2761f1d0537dd92c1ca00bd886b7 Mon Sep 17 00:00:00 2001 From: draev Date: Sun, 31 Mar 2013 10:37:13 +0300 Subject: [PATCH] Update BlogManagementWidget.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- code/widgets/BlogManagementWidget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/widgets/BlogManagementWidget.php b/code/widgets/BlogManagementWidget.php index c5b2022..fbce4bc 100644 --- a/code/widgets/BlogManagementWidget.php +++ b/code/widgets/BlogManagementWidget.php @@ -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();