MDL-48946 Files: New custom description format_string call
authorsam marshall <s.marshall@open.ac.uk>
Thu, 22 Jan 2015 13:27:50 +0000 (13:27 +0000)
committersam marshall <s.marshall@open.ac.uk>
Thu, 22 Jan 2015 13:27:50 +0000 (13:27 +0000)
commitb3d7eb6ed4164033a5a225166fd1b2fb4daf31cd
tree614578be23ad24de7880ecb6a6b195646ec2c3df
parentda0ef2e4cf9c02cfa0444814b4e6e9b2cb000cd6
MDL-48946 Files: New custom description format_string call

The format_string call used when getting file type descriptions
does not specify a context. The page context is not always
available at this point, so for consistency it should specify
the system context.
lib/filelib.php