Remove the parse_size() function in common.inc as it is deprecated as per meta https://www.drupal.org/node/2205673 and now \Drupal\Component\Utility\Bytes::toInt() is used instead of it. No other place it is being refernced.

Attached the patch for same.

CommentFileSizeAuthor
remove-parse-size-deprecated.patch818 bytesjoshi.rohit100

Comments

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Did you found the corresponding change notice? It would be great to reference it here.

linl’s picture

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed f421f1f and pushed to 8.x. Thanks!

  • alexpott committed f421f1f on 8.x
    Issue #2295715 by joshi.rohit100: Remove parse_size() function as it is...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.