Reviewed: https://reviews.mahara.org/c/mahara/+/12965 Committed: https://git.mahara.org/mahara/mahara/commit/23eb500ef4d4e36f4395848c776a77740abb00c2 Submitter: "Doris Tam <[email protected]>" Branch: main
commit 23eb500ef4d4e36f4395848c776a77740abb00c2 Author: Robert Lyon <[email protected]> Date: Thu Jun 30 10:39:25 2022 +1200 Bug 1980291: Tidy up 'file_cleanup_old_temp_files' function So it stop throwing an error Change-Id: Ibf2ba9b236674b4981131b583a8c28ea285a1741 Signed-off-by: Robert Lyon <[email protected]> -- 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/1980291 Title: file_cleanup_old_temp_files() causing an error Status in Mahara: Fix Committed Status in Mahara 22.04 series: Fix Committed Status in Mahara 22.10 series: Fix Committed Bug description: The following is appearing in the logs when cron runs [WAR] 7e (lib/file.php:973) Undefined offset: 0 Call stack (most recent first): • log_message(string(size 19), integer, true, true, string(size 33), integer) at /var/www/html/mahara/lib/errors.php:515 • error(integer, string(size 19), string(size 33), integer, array(size 3)) at /var/www/html/mahara/lib/file.php:973 • file_cleanup_old_temp_files() at /var/www/html/mahara/lib/cron.php:201 This is caused by some incorrect code To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1980291/+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

