From: Joas Schilling Date: Wed, 8 Mar 2023 09:23:22 +0000 (+0100) Subject: fix(docs): Fix URL to docs of deprecated function humanFileSize X-Git-Tag: v27.0.0beta1~365^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=188e486bc01672fa1fe1906caa6252de13a5bd1b;p=nextcloud-server.git fix(docs): Fix URL to docs of deprecated function humanFileSize Signed-off-by: Joas Schilling --- diff --git a/core/src/OC/util.js b/core/src/OC/util.js index e1a2f8f0687..27485115f8d 100644 --- a/core/src/OC/util.js +++ b/core/src/OC/util.js @@ -64,7 +64,7 @@ export default { History, /** - * @deprecated use https://nextcloud.github.io/nextcloud-files/modules/_humanfilesize_.html#formatfilesize + * @deprecated use https://nextcloud.github.io/nextcloud-files/functions/formatFileSize.html */ humanFileSize, @@ -73,7 +73,7 @@ export default { * Makes 2kB to 2048. * Inspired by computerFileSize in helper.php * - * @param {string} string file size in human readable format + * @param {string} string file size in human-readable format * @return {number} or null if string could not be parsed * *