Reviewed: https://reviews.mahara.org/5757 Committed: https://git.mahara.org/mahara/mahara/commit/a57aee9f7a3acea1a5ad7787286c3220d7f2b017 Submitter: Robert Lyon (<email address hidden>) Branch: 15.04_STABLE
commit a57aee9f7a3acea1a5ad7787286c3220d7f2b017 Author: Robert Lyon <email address hidden> Date: Wed Nov 18 11:29:16 2015 +1300
Bug 1517228: perf_to_log function amd misisng data
Because some systems may not have all the available data we should check if the data exists before trying to display it.
To test: Before patch change the line in lib/mahara.php if (function_exists('posix_times')) { to if (!function_exists('posix_times')) {
and make sure the 'perf_to_log' config option is set to true
This will cause the errors we are trying to deal with to show up
behatnotneeded
Change-Id: If9610fa0eaf4c8bb036b21c1c75e10d828de7934 Signed-off-by: Robert Lyon <email address hidden> (cherry picked from commit e9584a54cc890b3f9bd0ba7cab57b600a4a836a2)
Reviewed: https:/ /reviews. mahara. org/5757 /git.mahara. org/mahara/ mahara/ commit/ a57aee9f7a3acea 1a5ad7787286c32 20d7f2b017
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.04_STABLE
commit a57aee9f7a3acea 1a5ad7787286c32 20d7f2b017
Author: Robert Lyon <email address hidden>
Date: Wed Nov 18 11:29:16 2015 +1300
Bug 1517228: perf_to_log function amd misisng data
Because some systems may not have all the available data we should
check if the data exists before trying to display it.
To test: exists( 'posix_ times') ) { exists( 'posix_ times') ) {
Before patch change the line in lib/mahara.php
if (function_
to
if (!function_
and make sure the 'perf_to_log' config option is set to true
This will cause the errors we are trying to deal with to show up
behatnotneeded
Change-Id: If9610fa0eaf4c8 bb036b21c1c75e1 0d828de7934 f9bd0ba7cab57b6 00a4a836a2)
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit e9584a54cc890b3