Changing old mysql library references, using $xoopsDB instead