summaryrefslogtreecommitdiffstats
path: root/files/pull.php
diff options
context:
space:
mode:
authorJakob Sack <mail@jakobsack.de>2011-03-01 23:20:16 +0100
committerJakob Sack <mail@jakobsack.de>2011-03-01 23:20:16 +0100
commit132695ceb1d7ab0e4bfbb141e9e9639111dd25b5 (patch)
treef53fabcefd89a1e5bbeda9a2c2d2fff6683139d4 /files/pull.php
parent1fd39a52fa750878e7d70fba63c099f252095762 (diff)
downloadnextcloud-server-132695ceb1d7ab0e4bfbb141e9e9639111dd25b5.tar.gz
nextcloud-server-132695ceb1d7ab0e4bfbb141e9e9639111dd25b5.zip
Start of the refactoring. Commit is quite big because I forgot to use git right from the beginning. Sorry.
Diffstat (limited to 'files/pull.php')
-rw-r--r--files/pull.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/files/pull.php b/files/pull.php
deleted file mode 100644
index 1cc82425845..00000000000
--- a/files/pull.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-$token=$_GET['token'];
-
-$file=sys_get_temp_dir().'/'.'remoteCloudFile'.$token;
-if(file_exists($file) and is_readable($file) and is_writable($file)){
- readfile($file);
- unlink($file);
-}else{
- header("HTTP/1.0 404 Not Found");
-}
-?> \ No newline at end of file