Commit 03571da1 authored by Leigh B Stoller's avatar Leigh B Stoller

Do not call old CLEARBUSY() unless the function is defined.

parent c7a83650
<?php
#
# Copyright (c) 2000-2018 University of Utah and the Flux Group.
# Copyright (c) 2000-2019 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -306,8 +306,9 @@ function TBERROR ($message, $death, $xmp = 0) {
global $session_interactive, $session_errorhandler;
$script = urldecode($_SERVER['REQUEST_URI']);
CLEARBUSY();
if (function_exists("CLEARBUSY")) {
CLEARBUSY();
}
TBMAIL($TBMAIL_OPS,
"WEB ERROR REPORT",
"\n".
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment