Merge branch 'master' into WebGUI8
This commit is contained in:
commit
2400f19099
797 changed files with 33894 additions and 27196 deletions
|
|
@ -93,6 +93,8 @@ sub www_disableSendWebguiStats {
|
|||
return $session->privilege->adminOnly() unless canView($session);
|
||||
my $task = WebGUI::Workflow::Cron->new($session, 'send_webgui_statistics');
|
||||
$task->delete;
|
||||
my $workflow = WebGUI::Workflow->new($session, 'send_webgui_statistics');
|
||||
$workflow->set({enabled => 0});
|
||||
return www_viewStatistics($session);
|
||||
}
|
||||
|
||||
|
|
@ -122,6 +124,8 @@ sub www_enableSendWebguiStats {
|
|||
priority => 3,
|
||||
title => 'Send WebGUI Statistics',
|
||||
}, 'send_webgui_statistics');
|
||||
my $workflow = WebGUI::Workflow->new($session, 'send_webgui_statistics');
|
||||
$workflow->set({enabled => 1});
|
||||
return www_viewStatistics($session);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue