mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-02-26 23:54:25 +01:00
Revert "Disable entity loader just in case"
This reverts commit 86cacef008aa98378a891e0993ddb644de1dcd43.
This commit is contained in:
parent
86cacef008
commit
5d2293854a
@ -402,7 +402,6 @@ class OC_Bookmarks_Bookmarks{
|
||||
|
||||
public static function importFile($file){
|
||||
libxml_use_internal_errors(true);
|
||||
$loadEntities = libxml_disable_entity_loader(true);
|
||||
$dom = new domDocument();
|
||||
|
||||
$dom->loadHTMLFile($file);
|
||||
@ -424,7 +423,6 @@ class OC_Bookmarks_Bookmarks{
|
||||
self::addBookmark($ref, $title, $tags,$desc_str );
|
||||
}
|
||||
OCP\DB::commit();
|
||||
libxml_disable_entity_loader($loadEntities);
|
||||
return array();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user