You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextcloud-server/lib/filestorage/temporary.php

17 lines
352 B

<?php
/**
* local storage backnd in temporary folder for testing purpores
*/
class OC_Filestorage_Temporary extends OC_Filestorage_Local{
public function __construct($arguments){
$this->datadir=OC_Helper::tmpFolder();
}
public function cleanUp(){
OC_Helper::rmdirr($this->datadir);
}
public function __destruct(){
$this->cleanUp();
}
}