summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2022-09-27 18:53:03 -0400
committerBrian Evans <grknight@gentoo.org>2022-09-27 19:02:02 -0400
commit5ca8d30155e11d97b20f79acec40632c2e06fcd5 (patch)
tree7531fb116791f8328c0bb0cabe42265ca67e6df9 /MLEB/Translate/src/Cache/PersistentCache.php
parentMerge branch 'master' into wikitest (diff)
downloadextensions-1.35.2.tar.gz
extensions-1.35.2.tar.bz2
extensions-1.35.2.zip
Update MLEB to 2021.12v1.35.2
This is the final version for MW 1.35 Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'MLEB/Translate/src/Cache/PersistentCache.php')
-rw-r--r--MLEB/Translate/src/Cache/PersistentCache.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/MLEB/Translate/src/Cache/PersistentCache.php b/MLEB/Translate/src/Cache/PersistentCache.php
index 723c19db..28d91c75 100644
--- a/MLEB/Translate/src/Cache/PersistentCache.php
+++ b/MLEB/Translate/src/Cache/PersistentCache.php
@@ -16,6 +16,8 @@ interface PersistentCache {
public function hasExpiredEntry( string $keyname ): bool;
+ public function setExpiry( string $keyname, int $expiryTime ): void;
+
/** @return PersistentCacheEntry[] */
public function getByTag( string $tag ): array;
@@ -27,5 +29,3 @@ interface PersistentCache {
public function clear(): void;
}
-
-class_alias( PersistentCache::class, '\MediaWiki\Extensions\Translate\PersistentCache' );