diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-04-19 12:07:54 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-05-02 11:31:57 +0200 |
commit | f81b57bc451d50555a2ed198127e6031f66c7031 (patch) | |
tree | 9fc41d733fae27381b4cd262f8361e7a90118206 /lib/public | |
parent | 5a62c74495e489995f64be5b86e42927f57863f7 (diff) | |
download | nextcloud-server-f81b57bc451d50555a2ed198127e6031f66c7031.tar.gz nextcloud-server-f81b57bc451d50555a2ed198127e6031f66c7031.zip |
Read only once
This can lead to race conditions otherwise. Also depracted hasKey
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/icache.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/public/icache.php b/lib/public/icache.php index 3319013ddfa..a1ce068d819 100644 --- a/lib/public/icache.php +++ b/lib/public/icache.php @@ -60,6 +60,7 @@ interface ICache { * @param string $key * @return bool * @since 6.0.0 + * @deprecated 9.1.0 Directly read from GET to prevent race conditions */ public function hasKey($key); |