Bug 16039: Added -q flag to share_usage_with_koha_community.pl
authorSrdjan <srdjan@catalyst.net.nz>
Thu, 10 Mar 2016 06:03:51 +0000 (19:03 +1300)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Wed, 23 Mar 2016 20:57:22 +0000 (20:57 +0000)
commit59e3b97a0c13bf72d76bdb9ed7296c3796da9791
treeba206a657f7b425f85587286edbc716592dfe992
parentb7ea00b43e851c97b9885f5ef089e7bf2d17f0fd
 Bug 16039: Added -q flag to share_usage_with_koha_community.pl

To test:

With UsageStats syspref set to No:

* run misc/cronjobs/share_usage_with_koha_community.pl
  (without -q)
  - "The UsageStats system preference is not set." message
    with usage info should be output

* run misc/cronjobs/share_usage_with_koha_community.pl -q
  - the output should be quiet

NOTE: See comment #7.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
misc/cronjobs/share_usage_with_koha_community.pl