mirror of
https://github.com/friendica/friendica
synced 2025-04-27 05:50:10 +00:00
Removed some leftovers
This commit is contained in:
parent
7cdcad9f6c
commit
d2211bd6dd
4 changed files with 7 additions and 6 deletions
|
@ -19,7 +19,7 @@ interface IMemoryCache extends ICache
|
|||
* @param int $ttl The cache lifespan, must be one of the Cache constants
|
||||
* @return bool
|
||||
*/
|
||||
public function add($key, $value, $ttl = ICache::FIVE_MINUTES);
|
||||
public function add($key, $value, $ttl = Cache::FIVE_MINUTES);
|
||||
|
||||
/**
|
||||
* Compares if the old value is set and sets the new value
|
||||
|
@ -31,7 +31,7 @@ interface IMemoryCache extends ICache
|
|||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function compareSet($key, $oldValue, $newValue, $ttl = ICache::FIVE_MINUTES);
|
||||
public function compareSet($key, $oldValue, $newValue, $ttl = Cache::FIVE_MINUTES);
|
||||
|
||||
/**
|
||||
* Compares if the old value is set and removes it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue