fix option
This commit is contained in:
parent
54747275eb
commit
0dc288c3a1
@ -29,8 +29,11 @@ $_menu['Plugins']->addItem(
|
|||||||
$core->auth->check('admin',$core->blog->id)
|
$core->auth->check('admin',$core->blog->id)
|
||||||
);
|
);
|
||||||
|
|
||||||
$core->addBehavior('adminDashboardOptionsForm', ['activityReportAdmin', 'adminDashboardOptionsForm']);
|
if ($core->activityReport->getSetting('active')) {
|
||||||
$core->addBehavior('adminAfterDashboardOptionsUpdate', ['activityReportAdmin', 'adminAfterDashboardOptionsUpdate']);
|
$core->addBehavior('adminDashboardContents', ['activityReportAdmin', 'adminDashboardContents']);
|
||||||
|
$core->addBehavior('adminDashboardOptionsForm', ['activityReportAdmin', 'adminDashboardOptionsForm']);
|
||||||
|
$core->addBehavior('adminAfterDashboardOptionsUpdate', ['activityReportAdmin', 'adminAfterDashboardOptionsUpdate']);
|
||||||
|
}
|
||||||
|
|
||||||
class activityReportAdmin
|
class activityReportAdmin
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user