summaryrefslogtreecommitdiffstats
path: root/scripts/clear-memcached.pl
diff options
context:
space:
mode:
authorPerl Tidy <perltidy@bugzilla.org>2018-12-05 21:38:52 +0100
committerDylan William Hardison <dylan@hardison.net>2018-12-05 23:49:08 +0100
commit8ec8da0491ad89604700b3e29a227966f6d84ba1 (patch)
tree9d270f173330ca19700e0ba9f2ee931300646de1 /scripts/clear-memcached.pl
parenta7bb5a65b71644d9efce5fed783ed545b9336548 (diff)
downloadbugzilla-8ec8da0491ad89604700b3e29a227966f6d84ba1.tar.gz
bugzilla-8ec8da0491ad89604700b3e29a227966f6d84ba1.tar.xz
no bug - reformat all the code using the new perltidy rules
Diffstat (limited to 'scripts/clear-memcached.pl')
-rwxr-xr-xscripts/clear-memcached.pl11
1 files changed, 5 insertions, 6 deletions
diff --git a/scripts/clear-memcached.pl b/scripts/clear-memcached.pl
index bbf8f1cca..cd1b02f24 100755
--- a/scripts/clear-memcached.pl
+++ b/scripts/clear-memcached.pl
@@ -12,16 +12,15 @@ use warnings;
use lib qw(. lib local/lib/perl5);
-
-
use Bugzilla;
use Bugzilla::Constants;
Bugzilla->usage_mode(USAGE_MODE_CMDLINE);
if (Bugzilla->memcached->{memcached}) {
- Bugzilla->memcached->clear_all();
- print "memcached cleared\n";
-} else {
- print "memcached is not enabled\n";
+ Bugzilla->memcached->clear_all();
+ print "memcached cleared\n";
+}
+else {
+ print "memcached is not enabled\n";
}