MDL-71470 repository_googledocs: Use file name in the source attribute
commit0ce519591b2cabbc8ed9123dff25d12fd21ebd2b
authorMihail Geshoski <mihail@moodle.com>
Wed, 28 Apr 2021 04:56:46 +0000 (28 12:56 +0800)
committerMihail Geshoski <mihail@moodle.com>
Wed, 28 Apr 2021 08:30:27 +0000 (28 16:30 +0800)
tree67272f82eaa156d2008bf5ebb16781babc8f3831
parenta5f0b354e7ef8a925cc2693d3c99b90f5445ce6e
MDL-71470 repository_googledocs: Use file name in the source attribute

Instead of using the file title when generating the source attribute,
we should be using only the name of the Google Drive file in order to
avoid having the original extension within the filename after the file
is imported and added into Moodle.
repository/googledocs/classes/local/node/file_node.php