diff options
Diffstat (limited to 'apps/files_versions/lib/storage.php')
-rw-r--r-- | apps/files_versions/lib/storage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/storage.php b/apps/files_versions/lib/storage.php index 40f6ad7e77d..34ed812f4bb 100644 --- a/apps/files_versions/lib/storage.php +++ b/apps/files_versions/lib/storage.php @@ -483,7 +483,7 @@ class Storage { * @param int $neededSpace */ private static function scheduleExpire($fileName, $versionsSize = null, $neededSpace = 0) { - $command = new Expire($fileName, $versionsSize, $neededSpace); + $command = new Expire(\OC::$server->getUserSession()->getUser(), $fileName, $versionsSize, $neededSpace); \OC::$server->getCommandBus()->push($command); } |