mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
add option to clear the files in the static streamwrapper
This commit is contained in:
parent
6ddfe2029c
commit
156e72a0c4
1 changed files with 4 additions and 0 deletions
|
|
@ -26,6 +26,10 @@ class StaticStream {
|
|||
public function stream_flush() {
|
||||
}
|
||||
|
||||
public static function clear() {
|
||||
self::$data = array();
|
||||
}
|
||||
|
||||
public function stream_open($path, $mode, $options, &$opened_path) {
|
||||
switch ($mode[0]) {
|
||||
case 'r':
|
||||
|
|
|
|||
Loading…
Reference in a new issue