** Changed in: mahara
    Milestone: 20.10.0 => None

-- 
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 Released
Status in Mahara 19.04 series:
  Fix Released
Status in Mahara 19.10 series:
  Fix Released
Status in Mahara 20.04 series:
  Fix Released
Status in Mahara 20.10 series:
  Fix Released

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to