]> git.p6c8.net - jirafeau_project.git/blobdiff - lib/functions.php
#2: Build and publish Docker images using GitLab CI.
[jirafeau_project.git] / lib / functions.php
index b3a84ac64620961b9acb07e32a59c0034f84bafc..4736b7f35b2d1b3d9454f631f26e28b824cfadeb 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>';
@@ -1239,7 +1238,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