Fix cleanup function

This commit is contained in:
towards-a-new-leftypol 2024-12-31 02:21:16 -05:00
parent 419a57f2d9
commit 300ff2de5e
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,10 @@ $error_recursion=false;
function global_post_cleanup() {
global $post_cleanup_list;
if (!isset($post_cleanup_list)) {
return;
}
foreach ($post_cleanup_list as $f) {
$f();
}