]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/pochePictures.php
refactoring
[github/wallabag/wallabag.git] / inc / poche / pochePictures.php
index 0d73a14985a4ccde25117db59310688af30b2eb2..4e4a0b08561eed78c8aecb81b459696842593501 100644 (file)
@@ -67,7 +67,7 @@ function get_absolute_link($relative_link, $url) {
  */
 function download_pictures($absolute_path, $fullpath)
 {
-    $rawdata = get_external_file($absolute_path);
+    $rawdata = Tools::getFile($absolute_path);
 
     if(file_exists($fullpath)) {
         unlink($fullpath);