Disable the Send Stats workflow, to avoid confusion. Fixes bug #11245
This commit is contained in:
parent
a63dfa3ad1
commit
0103cba326
2 changed files with 5 additions and 0 deletions
|
|
@ -21,6 +21,7 @@
|
||||||
- added file globbing to preload.exclude
|
- added file globbing to preload.exclude
|
||||||
- fixed #11242: Macros not executing in Download Templates
|
- fixed #11242: Macros not executing in Download Templates
|
||||||
- added TimeZone form controls accepts spaces or underscores in zone names.
|
- added TimeZone form controls accepts spaces or underscores in zone names.
|
||||||
|
- fixed #11245: send stats
|
||||||
|
|
||||||
7.8.4
|
7.8.4
|
||||||
- Fixed a compatibility problem between WRE and new Spectre code.
|
- Fixed a compatibility problem between WRE and new Spectre code.
|
||||||
|
|
|
||||||
|
|
@ -94,6 +94,8 @@ sub www_disableSendWebguiStats {
|
||||||
return $session->privilege->adminOnly() unless canView($session);
|
return $session->privilege->adminOnly() unless canView($session);
|
||||||
my $task = WebGUI::Workflow::Cron->new($session, 'send_webgui_statistics');
|
my $task = WebGUI::Workflow::Cron->new($session, 'send_webgui_statistics');
|
||||||
$task->delete;
|
$task->delete;
|
||||||
|
my $workflow = WebGUI::Workflow->new($session, 'send_webgui_statistics');
|
||||||
|
$workflow->set({enabled => 0});
|
||||||
return www_viewStatistics($session);
|
return www_viewStatistics($session);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -123,6 +125,8 @@ sub www_enableSendWebguiStats {
|
||||||
priority => 3,
|
priority => 3,
|
||||||
title => 'Send WebGUI Statistics',
|
title => 'Send WebGUI Statistics',
|
||||||
}, 'send_webgui_statistics');
|
}, 'send_webgui_statistics');
|
||||||
|
my $workflow = WebGUI::Workflow->new($session, 'send_webgui_statistics');
|
||||||
|
$workflow->set({enabled => 1});
|
||||||
return www_viewStatistics($session);
|
return www_viewStatistics($session);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue