Skip to content

Commit

Permalink
Merge pull request #37121 from nextcloud/bugfix/noid/fix-deprecation-url
Browse files Browse the repository at this point in the history
fix(docs): Fix URL to docs of deprecated function humanFileSize
  • Loading branch information
nickvergessen authored Mar 8, 2023
2 parents 88b03d6 + d696687 commit 80e12cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/src/OC/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand All @@ -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
*
*
Expand Down
2 changes: 1 addition & 1 deletion dist/core-login.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-main.js.map

Large diffs are not rendered by default.

0 comments on commit 80e12cf

Please sign in to comment.