Bug 13521: Removed superflous semicolon
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 6 Jan 2015 06:48:29 +0000 (06:48 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 18 Jun 2015 07:30:18 +0000 (09:30 +0200)
Removed an uneeded semicolon from the end of an 'if' block. This should
not affect operation of the script.

Note: With Bug 13499 we did a non-destructive perltidy, as such we only
affected indenting and whitespace to maintain blame history. However, a
number of minor code issues were also highlighted, in this series of
patches I hope to correct other minor style issues.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
(cherry picked from commit c9d12187da005391b4cb8358e7adbcbab105e9ff)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

C4/Auth.pm

index 53c107a..15aa8b8 100644 (file)
@@ -619,7 +619,7 @@ sub _timeout_syspref {
     # value in days, convert in seconds
     if ($timeout =~ /(\d+)[dD]/) {
         $timeout = $1 * 86400;
-    };
+    }
     return $timeout;
 }