Browse Source

Remove imported photos as promised by warning screen

Michael Procter 10 years ago
parent
commit
e17cfe79a3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      php/modules/Import.php

+ 1 - 0
php/modules/Import.php

@@ -107,6 +107,7 @@ class Import extends Module {
 					continue;
 				}
 				$contains['photos'] = true;
+				unlink($file);
 
 			} else if (is_dir($file)) {