aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/OC
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-03-08 10:23:22 +0100
committerJoas Schilling <coding@schilljs.com>2023-03-08 10:23:22 +0100
commit188e486bc01672fa1fe1906caa6252de13a5bd1b (patch)
treeab09b870d0ba770f5963c386986f4b30c242d8be /core/src/OC
parent11a0cb7f22a37f79b2818af9180de6cb24b02471 (diff)
downloadnextcloud-server-188e486bc01672fa1fe1906caa6252de13a5bd1b.tar.gz
nextcloud-server-188e486bc01672fa1fe1906caa6252de13a5bd1b.zip
fix(docs): Fix URL to docs of deprecated function humanFileSize
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/src/OC')
-rw-r--r--core/src/OC/util.js4
1 files changed, 2 insertions, 2 deletions
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
*
*