I just received an e-mail from a customer trying to place an order. I have not made any changes to the site recently and don't know where this error came from.

Fatal error: Call to undefined function: update_credit_account() in /home/****/public_html/catalog2/includes/classes/order_total.php on line 124

This is the code that appears in order_total.php around line 124

function update_credit_account($i) {
if (MODULE_ORDER_TOTAL_INSTALLED) {
reset($this->modules);
while (list(, $value) = each($this->modules)) {
$class = substr($value, 0, strrpos($value, '.'));
if ( $GLOBALS[$class]->credit_class ) {
$GLOBALS[$class]->update_credit_account($i);
}
}
}
}

Any suggestions?