Skip to content

Commit

Permalink
fixed some comment typos
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Jul 22, 2010
1 parent 8664a86 commit 792881f
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion lib/moodlelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2647,7 +2647,7 @@ function require_user_key_login($script, $instance=null) {
define('USER_KEY_LOGIN', true);
}

/// return isntance id - it might be empty
/// return instance id - it might be empty
return $key->instance;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/navigationlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2754,7 +2754,7 @@ protected function load_course_settings($forceopen = false) {
}

/**
* Adds branches and links to the settings navigaiton to add course activities
* Adds branches and links to the settings navigation to add course activities
* and resources.
*
* @param stdClass $course
Expand Down
2 changes: 1 addition & 1 deletion lib/questionlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2990,7 +2990,7 @@ function question_get_toggleflag_checksum($attemptid, $questionid, $sessionid, $
}

/**
* Adds question bank setting links to the given navigaiton node if caps are met.
* Adds question bank setting links to the given navigation node if caps are met.
*
* @param navigation_node $navigationnode The navigation node to add the question branch to
* @param stdClass $context
Expand Down
8 changes: 4 additions & 4 deletions mod/folder/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ function folder_get_file_areas($course, $cm, $context) {
}

/**
* File browsing support for folder module ontent area.
* File browsing support for folder module content area.
* @param object $browser
* @param object $areas
* @param object $course
Expand Down Expand Up @@ -278,7 +278,7 @@ function folder_get_file_info($browser, $areas, $course, $cm, $context, $fileare
* @param string $filearea
* @param array $args
* @param bool $forcedownload
* @return bool false if file not found, does not return if found - justsend the file
* @return bool false if file not found, does not return if found - just send the file
*/
function folder_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload) {
global $CFG, $DB;
Expand Down Expand Up @@ -309,15 +309,15 @@ function folder_pluginfile($course, $cm, $context, $filearea, $args, $forcedownl
}

/**
* This function extends the global navigaiton for the site.
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
*
* @param navigation_node $navigation The folder node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module isntance returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function folder_extend_navigation($navigation, $course, $module, $cm) {
/**
Expand Down
4 changes: 2 additions & 2 deletions mod/hotpot/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2976,15 +2976,15 @@ function hotpot_reset_course_form_defaults($course) {
}

/**
* This function extends the global navigaiton for the site.
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
*
* @param navigation_node $navigation The hotpot node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module isntance returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function hotpot_extend_navigation($navigation, $course, $module, $cm) {
/**
Expand Down
4 changes: 2 additions & 2 deletions mod/imscp/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,15 +374,15 @@ function imscp_pluginfile($course, $cm, $context, $filearea, $args, $forcedownlo
}

/**
* This function extends the global navigaiton for the site.
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
*
* @param navigation_node $navigation The imscp node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module isntance returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function imscp_extend_navigation($navigation, $course, $module, $cm) {
/**
Expand Down
4 changes: 2 additions & 2 deletions mod/lesson/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -771,15 +771,15 @@ function lesson_supports($feature) {
}

/**
* This function extends the global navigaiton for the site.
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
*
* @param navigation_node $navigation The lesson node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module isntance returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function lesson_extend_navigation($navigation, $course, $module, $cm) {
/**
Expand Down
4 changes: 2 additions & 2 deletions mod/quiz/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1590,15 +1590,15 @@ function quiz_get_extra_capabilities() {
}

/**
* This fucntion extends the global navigaiton for the site.
* This fucntion extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
*
* @param navigation_node $quiznode The quiz node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module isntance returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function quiz_extend_navigation($quiznode, $course, $module, $cm) {
global $CFG;
Expand Down
4 changes: 2 additions & 2 deletions mod/scorm/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -924,15 +924,15 @@ function scorm_supports($feature) {
}

/**
* This function extends the global navigaiton for the site.
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
*
* @param navigation_node $navigation The scorm node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module isntance returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function scorm_extend_navigation($navigation, $course, $module, $cm) {
/**
Expand Down
4 changes: 2 additions & 2 deletions mod/survey/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -802,15 +802,15 @@ function survey_supports($feature) {
}

/**
* This fucntion extends the global navigaiton for the site.
* This fucntion extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
*
* @param navigation_node $navigation The quiz node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module isntance returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function survey_extend_navigation($navigation, $course, $module, $cm) {
/**
Expand Down
4 changes: 2 additions & 2 deletions mod/url/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,15 +288,15 @@ function url_get_coursemodule_info($coursemodule) {
}

/**
* This function extends the global navigaiton for the site.
* This function extends the global navigation for the site.
* It is important to note that you should not rely on PAGE objects within this
* body of code as there is no guarantee that during an AJAX request they are
* available
*
* @param navigation_node $navigation The url node within the global navigation
* @param stdClass $course The course object returned from the DB
* @param stdClass $module The module object returned from the DB
* @param stdClass $cm The course module isntance returned from the DB
* @param stdClass $cm The course module instance returned from the DB
*/
function url_extend_navigation($navigation, $course, $module, $cm) {
/**
Expand Down

0 comments on commit 792881f

Please sign in to comment.