Remove check for libxml_disable_entity_loader
It's there since PHP 5.2.11 and we require 5.5. Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
d8482d1644
commit
7c249478dc
@ -18,15 +18,6 @@ use PMA;
|
||||
use PMA\libraries\plugins\ImportPlugin;
|
||||
use SimpleXMLElement;
|
||||
|
||||
/**
|
||||
* We need way to disable external XML entities processing.
|
||||
*/
|
||||
if (!function_exists('libxml_disable_entity_loader')) {
|
||||
$GLOBALS['skip_import'] = true;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles the import for the ODS format
|
||||
*
|
||||
|
||||
@ -15,15 +15,6 @@ use PMA;
|
||||
use PMA\libraries\plugins\ImportPlugin;
|
||||
use SimpleXMLElement;
|
||||
|
||||
/**
|
||||
* We need way to disable external XML entities processing.
|
||||
*/
|
||||
if (!function_exists('libxml_disable_entity_loader')) {
|
||||
$GLOBALS['skip_import'] = true;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles the import for the XML format
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user