Skip to content

Commit

Permalink
Merge branch 'MDL-29258_master' of git://github.com/dmonllao/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Apr 25, 2013
2 parents 0722742 + f14d412 commit 78129ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/portfolio/caller.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 78129ff

Please sign in to comment.