← Back to team overview

mahara-contributors team mailing list archive

[Bug 1927881] [NEW] Call to nonexistent function array_to_fields()

 

Public bug reported:

The function activity_get_users() in lib/activity.php includes a call to
array_to_fields().  This function doesn't appear to have ever existed.
Given we don't see any error reports on this it is likely the if()
condition it falls into has never been triggered.

I am seeing activity_get_users() being called in
htdocs/interaction/forum/lib.php in the constructor for the
ActivityTypeInteractionForumPostmoderation class. This is also in an
if() condition which suggests *that* is never hit either.

Given this has been present for the last 14 years I'm going to set the
priority to low.

** Affects: mahara
     Importance: Low
         Status: New

-- 
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/1927881

Title:
  Call to nonexistent function array_to_fields()

Status in Mahara:
  New

Bug description:
  The function activity_get_users() in lib/activity.php includes a call
  to array_to_fields().  This function doesn't appear to have ever
  existed.  Given we don't see any error reports on this it is likely
  the if() condition it falls into has never been triggered.

  I am seeing activity_get_users() being called in
  htdocs/interaction/forum/lib.php in the constructor for the
  ActivityTypeInteractionForumPostmoderation class. This is also in an
  if() condition which suggests *that* is never hit either.

  Given this has been present for the last 14 years I'm going to set the
  priority to low.

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


Follow ups