dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Fix separated login link so that create account and login are always next...
[lhc/web/wiklou.git]
/
includes
/
filebackend
/
TempFSFile.php
diff --git
a/includes/filebackend/TempFSFile.php
b/includes/filebackend/TempFSFile.php
index
00f1080
..
ed6bf2f
100644
(file)
--- a/
includes/filebackend/TempFSFile.php
+++ b/
includes/filebackend/TempFSFile.php
@@
-99,6
+99,15
@@
class TempFSFile extends FSFile {
$this->canDelete = false;
}
+ /**
+ * Set flag clean up after the temporary file
+ *
+ * @return void
+ */
+ public function autocollect() {
+ $this->canDelete = true;
+ }
+
/**
* Cleans up after the temporary file by deleting it
*/