Permalink
Browse files

Merge branch 'MDL-29174_MOODLE_22' of git://github.com/raymanuk/moodl…

…e into MOODLE_22_STABLE
  • Loading branch information...
2 parents afa1de6 + d6b0114 commit 5335b7deb828d5ce79e2a1bfe9fa020eb17924c5 Sam Hemelryk committed Apr 16, 2012
Showing with 0 additions and 141 deletions.
  1. +0 −20 mod/folder/lib.php
  2. +0 −20 mod/imscp/lib.php
  3. +0 −20 mod/lesson/lib.php
  4. +0 −21 mod/page/lib.php
  5. +0 −20 mod/scorm/lib.php
  6. +0 −20 mod/survey/lib.php
  7. +0 −20 mod/url/lib.php
View
@@ -319,26 +319,6 @@ function folder_pluginfile($course, $cm, $context, $filearea, $args, $forcedownl
}
/**
- * 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 instance returned from the DB
- */
-function folder_extend_navigation($navigation, $course, $module, $cm) {
- /**
- * This is currently just a stub so that it can be easily expanded upon.
- * When expanding just remove this comment and the line below and then add
- * you content.
- */
- $navigation->nodetype = navigation_node::NODETYPE_LEAF;
-}
-
-/**
* Return a list of page types
* @param string $pagetype current page type
* @param stdClass $parentcontext Block's parent context
View
@@ -383,26 +383,6 @@ function imscp_pluginfile($course, $cm, $context, $filearea, $args, $forcedownlo
}
/**
- * 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 instance returned from the DB
- */
-function imscp_extend_navigation($navigation, $course, $module, $cm) {
- /**
- * This is currently just a stub so that it can be easily expanded upon.
- * When expanding just remove this comment and the line below and then add
- * you content.
- */
- $navigation->nodetype = navigation_node::NODETYPE_LEAF;
-}
-
-/**
* Return a list of page types
* @param string $pagetype current page type
* @param stdClass $parentcontext Block's parent context
View
@@ -790,26 +790,6 @@ function lesson_supports($feature) {
}
/**
- * 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 instance returned from the DB
- */
-function lesson_extend_navigation($navigation, $course, $module, $cm) {
- /**
- * This is currently just a stub so that it can be easily expanded upon.
- * When expanding just remove this comment and the line below and then add
- * you content.
- */
- $navigation->nodetype = navigation_node::NODETYPE_LEAF;
-}
-
-/**
* This function extends the settings navigation block for the site.
*
* It is safe to rely on PAGE here as we will only ever be within the module
View
@@ -411,27 +411,6 @@ function page_pluginfile($course, $cm, $context, $filearea, $args, $forcedownloa
}
}
-
-/**
- * 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 page 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 instance returned from the DB
- */
-function page_extend_navigation($navigation, $course, $module, $cm) {
- /**
- * This is currently just a stub so that it can be easily expanded upon.
- * When expanding just remove this comment and the line below and then add
- * you content.
- */
- $navigation->nodetype = navigation_node::NODETYPE_LEAF;
-}
-
/**
* Return a list of page types
* @param string $pagetype current page type
View
@@ -960,26 +960,6 @@ function scorm_supports($feature) {
}
/**
- * 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 instance returned from the DB
- */
-function scorm_extend_navigation($navigation, $course, $module, $cm) {
- /**
- * This is currently just a stub so that it can be easily expanded upon.
- * When expanding just remove this comment and the line below and then add
- * you content.
- */
- $navigation->nodetype = navigation_node::NODETYPE_LEAF;
-}
-
-/**
* Get the filename for a temp log file
*
* @param string $type - type of log(aicc,scorm12,scorm13) used as prefix for filename
View
@@ -814,26 +814,6 @@ function survey_supports($feature) {
}
/**
- * 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 instance returned from the DB
- */
-function survey_extend_navigation($navigation, $course, $module, $cm) {
- /**
- * This is currently just a stub so that it can be easily expanded upon.
- * When expanding just remove this comment and the line below and then add
- * you content.
- */
- $navigation->nodetype = navigation_node::NODETYPE_LEAF;
-}
-
-/**
* This function extends the settings navigation block for the site.
*
* It is safe to rely on PAGE here as we will only ever be within the module
View
@@ -297,26 +297,6 @@ function url_get_coursemodule_info($coursemodule) {
}
/**
- * 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 instance returned from the DB
- */
-function url_extend_navigation($navigation, $course, $module, $cm) {
- /**
- * This is currently just a stub so that it can be easily expanded upon.
- * When expanding just remove this comment and the line below and then add
- * you content.
- */
- $navigation->nodetype = navigation_node::NODETYPE_LEAF;
-}
-
-/**
* Return a list of page types
* @param string $pagetype current page type
* @param stdClass $parentcontext Block's parent context

0 comments on commit 5335b7d

Please sign in to comment.