MDL-24607 mnet: fixed filelib inclusion before it is used
authorDavid Mudrak <david.mudrak@gmail.com>
Mon, 11 Oct 2010 12:19:04 +0000 (12:19 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Mon, 11 Oct 2010 12:19:04 +0000 (12:19 +0000)
mnet/peer.php

index 436b708..da46638 100644 (file)
@@ -8,6 +8,8 @@
  * @package mnet
  */
 
+require_once($CFG->libdir . '/filelib.php'); // download_file_content() used here
+
 class mnet_peer {
 
     var $id                 = 0;