summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-03-08 11:44:22 +0100
committerGitHub <noreply@github.com>2023-03-08 11:44:22 +0100
commit80e12cf72608b7c5776f02f04da98d7a5968bc73 (patch)
tree7567e73133eed8a6c202ad06a92351f6e40ff5aa /core
parent88b03d69cedab6f210178e9dcb04bc512beeb9be (diff)
parentd696687ed6549ebb25cf0dae6c0a1c0f8cb1d4c7 (diff)
downloadnextcloud-server-80e12cf72608b7c5776f02f04da98d7a5968bc73.tar.gz
nextcloud-server-80e12cf72608b7c5776f02f04da98d7a5968bc73.zip
Merge pull request #37121 from nextcloud/bugfix/noid/fix-deprecation-url
fix(docs): Fix URL to docs of deprecated function humanFileSize
Diffstat (limited to 'core')
-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
*
*