← Back to team overview

mahara-contributors team mailing list archive

[Bug 1980021] [NEW] session_get_instance() does not exist

 

Public bug reported:

While working #1976432 I found that session_get_instance() does not
appear to be defined anywhere. A quick search suggests it may have come
from a Moodle module.  In the current version of Moodle this has also
been deprecated.

https://github.com/netspotau/moodle-
mod_assign/blob/master/lib/sessionlib.php

Given no errors have been reported around this we could remove the if()
block it appears in.

The instance of this is here:

https://git.mahara.org/mahara/mahara/-/blob/main/htdocs/webservice/lib.php#L1251

** Affects: mahara
     Importance: Undecided
         Status: New


** Tags: bite-sized

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1980021

Title:
  session_get_instance() does not exist

Status in Mahara:
  New

Bug description:
  While working #1976432 I found that session_get_instance() does not
  appear to be defined anywhere. A quick search suggests it may have
  come from a Moodle module.  In the current version of Moodle this has
  also been deprecated.

  https://github.com/netspotau/moodle-
  mod_assign/blob/master/lib/sessionlib.php

  Given no errors have been reported around this we could remove the
  if() block it appears in.

  The instance of this is here:

  https://git.mahara.org/mahara/mahara/-/blob/main/htdocs/webservice/lib.php#L1251

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



Follow ups