mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #59379
[Bug 1888743] A patch has been submitted for review
Patch for "20.04_STABLE" branch: https://reviews.mahara.org/11124
--
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/1888743
Title:
clean up references to old menu structure
Status in Mahara:
Fix Committed
Status in Mahara 19.04 series:
New
Status in Mahara 19.10 series:
New
Status in Mahara 20.04 series:
New
Status in Mahara 20.10 series:
Fix Committed
Bug description:
Currently we still have some references to the old menu structure within Mahara.
'myportfolio' and 'content' should both be updated to 'create'.
Change: define(MENUITEM', 'myportfolio');
To: define('MENUITEM', 'create');
In the following files:
relatedtags.php
artefact/annotation/edit.php
artefact/comment/edit.php
artefact/peerassessment/edit.php
In artefact/internal/socialprofile.php:
Change: define('MENUITEM', 'content/profile');
To: define('MENUITEM', 'create/files');
In htdocs/lib/web.php:
Change (ln 1476 in a comment): in_array(MENUITEM, array('myportfolio/view'))),
To: in_array(MENUITEM, array('create/view'))),
The old code was discovered when upgrading a site from 18.10 to 20.04.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1888743/+subscriptions
References