From: Petr Skoda Date: Tue, 12 Jan 2010 10:24:55 +0000 (+0000) Subject: MDL-21318 adding link to tracker issue for TODOs X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=645e2cc14df28d305775c79d7ddcc5598ae38620;p=moodle.git MDL-21318 adding link to tracker issue for TODOs --- diff --git a/repository/remotemoodle/repository.class.php b/repository/remotemoodle/repository.class.php index 982a420895..061b285003 100644 --- a/repository/remotemoodle/repository.class.php +++ b/repository/remotemoodle/repository.class.php @@ -74,7 +74,7 @@ class repository_remotemoodle extends repository { ///check the the user is known ///he has to be previously connected to the server site in order to be in the database - //TODO: this seems weird - is it executed from cron or what? Please review + //TODO: MDL-21318 this seems weird - is it executed from cron or what? Please review $USER = $DB->get_record('user',array('username' => $username, 'mnethostid' => $MNET_REMOTE_CLIENT->id)); if (empty($USER)) { exit(mnet_server_fault(9016, get_string('usernotfound', 'repository_remotemoodle', $username))); @@ -116,7 +116,7 @@ class repository_remotemoodle extends repository { ///check the the user is known ///he has to be previously connected to the server site in order to be in the database - //TODO: this seems weird - is it executed from cron or what? Please review + //TODO: MDL-21318 this seems weird - is it executed from cron or what? Please review $USER = $DB->get_record('user',array('username' => $username, 'mnethostid' => $MNET_REMOTE_CLIENT->id)); if (empty($USER)) { exit(mnet_server_fault(9016, get_string('usernotfound', 'repository_remotemoodle', $username)));