← Back to team overview

mahara-contributors team mailing list archive

[Bug 1467368] A change has been merged

 

Reviewed:  https://reviews.mahara.org/4899
Committed: https://git.mahara.org/mahara/mahara/commit/a2459daa1240664a39a13edafbac625de3aae40b
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit a2459daa1240664a39a13edafbac625de3aae40b
Author: Jinelle Foley-Barnes <jinelleb@xxxxxxxxxxxxxxx>
Date:   Tue Jun 23 17:40:08 2015 +1200

Behat Test: Menu navigation as different users (Bug 1467368).

Change-Id: I520abf1434d464928bdafa4ebb49603212b707e0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1467368

Title:
  cache the main navigation menu

Status in Mahara:
  Fix Committed
Status in Mahara 15.10 series:
  Fix Released

Bug description:
  Part of rendering the main navigation is it checks all the plugins to
  see if they want to add to the menu.

  This is not an ideal way of doing it. We should cache the main menu's
  $menu array in the database after first render and just use that.

  We should also have a clear_menu_cache($institution = null) function
  so that when the site or and institution updates it's config the
  related cached menus are cleared and able to generate again.

  We should also clear the menu cache when plugins are installed /
  removed / hidden / shown

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1467368/+subscriptions


References