]> git.p6c8.net - jirafeau_project.git/blobdiff - lib/functions.php
Checkout of de.json from `next-release` for the 4 mentioned strings
[jirafeau_project.git] / lib / functions.php
index 8a82b2abfeaf8ced7cc69927c366154ec8639d81..4991f23b0906edb59c3591d68056b3ef8bd050a6 100644 (file)
@@ -143,7 +143,6 @@ function jirafeau_human_size($octets)
 // Convert UTC timestamp to a datetime field
 function jirafeau_get_datetimefield($timestamp)
 {
-
     $ts = date_create("@" . $timestamp);
     $content = '<span class="datetime" data-datetime="' . date_format($ts, 'Y-m-d H:i') . '">'
         . date_format($ts, 'Y-m-d H:i') . ' (GMT)</span>';
@@ -1287,7 +1286,7 @@ function jirafeau_encrypt_file($fp_src, $fp_dst)
         $enc = sodium_crypto_secretstream_xchacha20poly1305_push($crypt_state, $to_enc);
 
         if (fwrite($w, $enc) === false) {
-           return '';
+            return '';
         }
     }
 

patrick-canterino.de