From e17cfe79a35d16da42011dbba18bfe31f2bb5354 Mon Sep 17 00:00:00 2001 From: Michael Procter Date: Sat, 21 Feb 2015 08:53:32 +0000 Subject: [PATCH] Remove imported photos as promised by warning screen --- php/modules/Import.php | 1 + 1 file changed, 1 insertion(+) diff --git a/php/modules/Import.php b/php/modules/Import.php index 657bf1c..472fdc9 100644 --- a/php/modules/Import.php +++ b/php/modules/Import.php @@ -107,6 +107,7 @@ class Import extends Module { continue; } $contains['photos'] = true; + unlink($file); } else if (is_dir($file)) {