diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-05-29 11:10:07 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-04 08:48:54 +0200 |
commit | a34495933e83c4c850308e3448a16160162eb65a (patch) | |
tree | f0996c9fe47219b744a79890506e97238b2a36c1 /core/Controller/PreviewController.php | |
parent | 36d74047f7ead966438ae7958ca7d7f816860515 (diff) | |
download | nextcloud-server-a34495933e83c4c850308e3448a16160162eb65a.tar.gz nextcloud-server-a34495933e83c4c850308e3448a16160162eb65a.zip |
Move caching logic to response
This avoids having to do it at all the places we want cached responses.
We can't inject the ITimeFactor without breaking public API.
However we can perfectly overwrite the service (resulting in the same
testable effect).
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/Controller/PreviewController.php')
0 files changed, 0 insertions, 0 deletions