diff -Naur moodle_std/lib/filelib.php moodle_updated/lib/filelib.php --- moodle_std/lib/filelib.php 2014-01-26 16:31:40.170635128 +0530 +++ moodle_updated/lib/filelib.php 2014-01-26 16:28:28.498629995 +0530 @@ -1166,7 +1166,7 @@ * @param string $tofile store the downloaded content to file instead of returning it. * @param bool $calctimeout false by default, true enables an extra head request to try and determine * filesize and appropriately larger timeout based on $CFG->curltimeoutkbitrate - * @return mixed false if request failed or content of the file as string if ok. True if file downloaded into $tofile successfully. + * @returns a stdClass object $response or content of the file as string if ok. True if file downloaded into $tofile successfully. */ function download_file_content($url, $headers=null, $postdata=null, $fullresponse=false, $timeout=300, $connecttimeout=20, $skipcertverify=false, $tofile=NULL, $calctimeout=false) { global $CFG;