From 9d4848e86383afd1ec49aa81f606f2042def2133 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 5 Nov 2020 16:30:05 +0100 Subject: use in objectstore copy Signed-off-by: Robin Appelman --- lib/private/Files/ObjectStore/StorageObjectStore.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/private/Files/ObjectStore/StorageObjectStore.php') diff --git a/lib/private/Files/ObjectStore/StorageObjectStore.php b/lib/private/Files/ObjectStore/StorageObjectStore.php index a7551385b34..acf46758956 100644 --- a/lib/private/Files/ObjectStore/StorageObjectStore.php +++ b/lib/private/Files/ObjectStore/StorageObjectStore.php @@ -93,4 +93,8 @@ class StorageObjectStore implements IObjectStore { public function objectExists($urn) { return $this->storage->file_exists($urn); } + + public function copyObject($from, $to) { + $this->storage->copy($from, $to); + } } -- cgit v1.2.3