aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/pochePictures.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-04 20:58:31 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-08-04 20:58:31 +0200
commiteb1af592194e225bf887e4893e697f0ab8dd9a26 (patch)
tree4ca66f2328ac5ab2abac1cfae98a0e1a7c4e5583 /inc/poche/pochePictures.php
parent3ba5f81b7bc99d7ff954aa5b76aca93c9e157e67 (diff)
downloadwallabag-eb1af592194e225bf887e4893e697f0ab8dd9a26.tar.gz
wallabag-eb1af592194e225bf887e4893e697f0ab8dd9a26.tar.zst
wallabag-eb1af592194e225bf887e4893e697f0ab8dd9a26.zip
refactoring
Diffstat (limited to 'inc/poche/pochePictures.php')
-rw-r--r--inc/poche/pochePictures.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/pochePictures.php b/inc/poche/pochePictures.php
index 0d73a149..4e4a0b08 100644
--- a/inc/poche/pochePictures.php
+++ b/inc/poche/pochePictures.php
@@ -67,7 +67,7 @@ function get_absolute_link($relative_link, $url) {
67 */ 67 */
68function download_pictures($absolute_path, $fullpath) 68function download_pictures($absolute_path, $fullpath)
69{ 69{
70 $rawdata = get_external_file($absolute_path); 70 $rawdata = Tools::getFile($absolute_path);
71 71
72 if(file_exists($fullpath)) { 72 if(file_exists($fullpath)) {
73 unlink($fullpath); 73 unlink($fullpath);