Skip to content
Snippets Groups Projects
Commit 11a599c3 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

remove deprecation notice for Cache::read() and Cache::write(), fixes #3701

Closes #3701

Merge request studip/studip!3203
parent 6475ed8c
No related branches found
No related tags found
No related merge requests found
...@@ -97,8 +97,6 @@ abstract class Cache implements CacheItemPoolInterface ...@@ -97,8 +97,6 @@ abstract class Cache implements CacheItemPoolInterface
* *
* @return mixed the previously stored data if an item with such a key * @return mixed the previously stored data if an item with such a key
* exists on the server or FALSE on failure. * exists on the server or FALSE on failure.
*
* @deprecated To be removed with Stud.IP 7.0.
*/ */
public function read($arg) public function read($arg)
{ {
...@@ -117,8 +115,6 @@ abstract class Cache implements CacheItemPoolInterface ...@@ -117,8 +115,6 @@ abstract class Cache implements CacheItemPoolInterface
* @param int $expires the item's expiry time in seconds. Optional, defaults to 12h. * @param int $expires the item's expiry time in seconds. Optional, defaults to 12h.
* *
* @return bool returns TRUE on success or FALSE on failure. * @return bool returns TRUE on success or FALSE on failure.
* @deprecated To be removed with Stud.IP 7.0.
*/ */
public function write($name, $content, $expires = self::DEFAULT_EXPIRATION) public function write($name, $content, $expires = self::DEFAULT_EXPIRATION)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment