summaryrefslogtreecommitdiff
path: root/plugins/cache_starred_images
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-06-20 08:40:02 +0300
committerAndrew Dolgov <[email protected]>2019-06-20 08:40:02 +0300
commit088fcf8131a0d5b612362c2fecf337df6ef754bb (patch)
tree3e5e415be8e411bb6a8eeac2e5a62e926f103c72 /plugins/cache_starred_images
parent4fa9aee4e7d187ed0f87d0dc9b88a86ba625c58f (diff)
move more globals to more appropriate places
set libxml to always use internal errors
Diffstat (limited to 'plugins/cache_starred_images')
-rwxr-xr-xplugins/cache_starred_images/init.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/cache_starred_images/init.php b/plugins/cache_starred_images/init.php
index 714d4cb9b..9c64ac3d0 100755
--- a/plugins/cache_starred_images/init.php
+++ b/plugins/cache_starred_images/init.php
@@ -166,8 +166,6 @@ class Cache_Starred_Images extends Plugin implements IHandler {
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
function cache_article_images($content, $site_url, $owner_uid, $article_id) {
- libxml_use_internal_errors(true);
-
$status_filename = $this->cache_dir . $article_id . "-" . sha1($site_url) . ".status";
Debug::log("status: $status_filename", Debug::$LOG_EXTENDED);