aboutsummaryrefslogtreecommitdiffstats
path: root/mod/import.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-08 16:29:56 -0700
committerfriendica <info@friendica.com>2013-06-08 16:29:56 -0700
commitee1ecd8ea29e41f70f8ee233ff6859e2e45e28b7 (patch)
tree8328ba298757468402b867c880405e257ff8fefa /mod/import.php
parentc21f8c68e39e22a0348e5717109f0005d4d35809 (diff)
downloadvolse-hubzilla-ee1ecd8ea29e41f70f8ee233ff6859e2e45e28b7.tar.gz
volse-hubzilla-ee1ecd8ea29e41f70f8ee233ff6859e2e45e28b7.tar.bz2
volse-hubzilla-ee1ecd8ea29e41f70f8ee233ff6859e2e45e28b7.zip
remove uploaded import file once we're done with it.
Diffstat (limited to 'mod/import.php')
-rw-r--r--mod/import.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/import.php b/mod/import.php
index d1b3216d0..a36519a0c 100644
--- a/mod/import.php
+++ b/mod/import.php
@@ -22,6 +22,7 @@ function import_post(&$a) {
if($filesize) {
$data = @file_get_contents($src);
}
+ unlink($src);
}
if(! $src) {