Merge branch 'MDL-29258_23' of git://github.com/dmonllao/moodle into MOODLE_23_STABLE

This commit is contained in:
Dan Poltawski
2013-04-25 10:32:28 +01:00
+3 -1
View File
@@ -513,11 +513,13 @@ abstract class portfolio_module_caller_base extends portfolio_caller_base {
/**
* Navigation passed to print_header.
* Override this to do something more specific than the module view page
* like adding more links to the breadcrumb.
*
* @return array
*/
public function get_navigation() {
$extranav = array('name' => $this->cm->name, 'link' => $this->get_return_url());
// No extra navigation by default, link to the course module already included.
$extranav = array();
return array($extranav, $this->cm);
}