Skip to content

Commit

Permalink
Improvement: Move classes/output/navigation/primary.php to classes/na…
Browse files Browse the repository at this point in the history
…vigation/output/primary.php (where it should be located).
  • Loading branch information
abias committed Oct 8, 2023
1 parent 5535a51 commit b8e1e5c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ moodle-theme_boost_union
Changes
-------

### Unreleased

* 2023-10-08 - Improvement: Move classes/output/navigation/primary.php to classes/navigation/output/primary.php (where it should be located).

### v4.2-r3

* 2023-10-01 - Bugfix: Omit PHP deprecation warnings on PHP 8.2, solves #411.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

namespace theme_boost_union\output\navigation;
namespace theme_boost_union\navigation\output;

use renderable;
use renderer_base;
Expand Down
2 changes: 1 addition & 1 deletion layout/columns2.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@

// Load the navigation from boost_union primary navigation, the extended version of core primary navigation.
// It includes the smart menus and menu items, for multiple locations.
$primary = new theme_boost_union\output\navigation\primary($PAGE);
$primary = new theme_boost_union\navigation\output\primary($PAGE);
$renderer = $PAGE->get_renderer('core');
$primarymenu = $primary->export_for_template($renderer);

Expand Down
2 changes: 1 addition & 1 deletion layout/drawers.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@

// Load the navigation from boost_union primary navigation, the extended version of core primary navigation.
// It includes the smart menus and menu items, for multiple locations.
$primary = new theme_boost_union\output\navigation\primary($PAGE);
$primary = new theme_boost_union\navigation\output\primary($PAGE);
$renderer = $PAGE->get_renderer('core');
$primarymenu = $primary->export_for_template($renderer);

Expand Down

0 comments on commit b8e1e5c

Please sign in to comment.