diff --git a/lib/bookmarks.php b/lib/bookmarks.php index 8d9be744..e843b1f9 100644 --- a/lib/bookmarks.php +++ b/lib/bookmarks.php @@ -408,7 +408,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); @@ -430,7 +429,6 @@ class OC_Bookmarks_Bookmarks{ self::addBookmark($ref, $title, $tags,$desc_str ); } OCP\DB::commit(); - libxml_disable_entity_loader($loadEntities); return array(); }