We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 9f87359d authored by mattl's avatar mattl

Non-ajax file submissions should throw NoUploadedMediaException

parent 964d1379
......@@ -177,7 +177,7 @@ class MediaFile
' partially uploaded.'));
// No file; probably just a non-AJAX submission.
throw new NoUploadedMediaException($param);
// TRANS: Client exception thrown when a temporary folder is not present to store a file upload.
throw new ClientException(_('Missing a temporary folder.'));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment