mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #31332
[Bug 1517228] Re: Undefined index: ticks
It's worth noting, our get_performance_info() method is based on
Moodle's:
https://github.com/moodle/moodle/blob/master/lib/moodlelib.php#L8742
Theirs has remained essentially the same as ours. The main changes since
we copied it, are changes in formatting, and they've got sections for
getting performance from some of their components like the filter
manager, string manager, and cache system.
They also added a check on the size of the session object, which might
be a good idea for us to do as well.
--
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/1517228
Title:
Undefined index: ticks
Status in Mahara:
In Progress
Bug description:
There is a function in mahara called perf_to_log which retrieves some
performance information from get_performance_info(), turns it to a
string and adds the string to log file.
But there is a problem with it.
the get_performance_info() does a check for things but the perf_to_log
expects all options to exist.
This is annoying as it fills up the error log with crud we don't need
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1517228/+subscriptions
References