Merge "Fix separated login link so that create account and login are always next...
[lhc/web/wiklou.git] / includes / filebackend / TempFSFile.php
index 00f1080..ed6bf2f 100644 (file)
@@ -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
         */