diff options
author | Robin Appelman <robin@icewind.nl> | 2020-11-13 17:04:36 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-11-26 15:22:03 +0100 |
commit | 23fb497ff59a90813cba24ca1c82be979cf95046 (patch) | |
tree | 2c56eb189e025d098f7c89539416936014ae9522 /lib/private/Files/Cache/CacheEntry.php | |
parent | 54e3beba165739c480730f797e2b386b12a92713 (diff) | |
download | nextcloud-server-23fb497ff59a90813cba24ca1c82be979cf95046.tar.gz nextcloud-server-23fb497ff59a90813cba24ca1c82be979cf95046.zip |
extend cache events
- adds cache remove event
- expose storage id in event
- emit events during cache move
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Cache/CacheEntry.php')
-rw-r--r-- | lib/private/Files/Cache/CacheEntry.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/CacheEntry.php b/lib/private/Files/Cache/CacheEntry.php index a0ba9020909..5f31ecfbec3 100644 --- a/lib/private/Files/Cache/CacheEntry.php +++ b/lib/private/Files/Cache/CacheEntry.php @@ -67,7 +67,7 @@ class CacheEntry implements ICacheEntry { public function getPath() { - return $this->data['path']; + return (string)$this->data['path']; } |