Remove reliance on XeXmlParser in admin module

This commit is contained in:
Kijin Sung 2025-05-26 22:59:57 +09:00
parent da584bb40c
commit 2830632a93

View file

@ -185,8 +185,8 @@ class Dashboard extends Base
$params["act"] = "getResourceapiLastupdate";
$body = \XmlGenerater::generate($params);
$buff = FileHandler::getRemoteResource($config->download_server, $body, 3, "POST", "application/xml");
$lUpdateDoc = \Rhymix\Framework\Parsers\XEXMLParser::loadXMLString($buff);
$updateDate = $lUpdateDoc->response->updatedate->body;
$lUpdateDoc = simplexml_load_string($buff);
$updateDate = trim($lUpdateDoc->updatedate);
if(!$updateDate)
{