fix option
This commit is contained in:
parent
54747275eb
commit
0dc288c3a1
1 changed files with 5 additions and 2 deletions
|
@ -29,8 +29,11 @@ $_menu['Plugins']->addItem(
|
|||
$core->auth->check('admin',$core->blog->id)
|
||||
);
|
||||
|
||||
$core->addBehavior('adminDashboardOptionsForm', ['activityReportAdmin', 'adminDashboardOptionsForm']);
|
||||
$core->addBehavior('adminAfterDashboardOptionsUpdate', ['activityReportAdmin', 'adminAfterDashboardOptionsUpdate']);
|
||||
if ($core->activityReport->getSetting('active')) {
|
||||
$core->addBehavior('adminDashboardContents', ['activityReportAdmin', 'adminDashboardContents']);
|
||||
$core->addBehavior('adminDashboardOptionsForm', ['activityReportAdmin', 'adminDashboardOptionsForm']);
|
||||
$core->addBehavior('adminAfterDashboardOptionsUpdate', ['activityReportAdmin', 'adminAfterDashboardOptionsUpdate']);
|
||||
}
|
||||
|
||||
class activityReportAdmin
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue