MDL-33832 Fixed filling of files.source field
authorMarina Glancy <marina@moodle.com>
Wed, 20 Jun 2012 08:09:37 +0000 (16:09 +0800)
committerMarina Glancy <marina@moodle.com>
Wed, 20 Jun 2012 08:09:37 +0000 (16:09 +0800)
commit83d2700ec9a3d03fa98fd33512534d6bd2f75d21
treecbee2621a18c27e56064d85d41e3412ded39bd45
parentf4a9bf65da973ea9ac101ce16bede2de4b2e0961
MDL-33832 Fixed filling of files.source field

- also supress the error on unserialise (because people already may have broken files.source field)
- also display details about unparseable JSON error
- make source field look the same across repositories
lib/filelib.php
lib/form/filemanager.js
repository/boxnet/lib.php
repository/dropbox/lib.php
repository/filepicker.php
repository/lib.php
repository/repository_ajax.php
repository/s3/lib.php
repository/upload/lib.php