refactor: loadCacheValue/saveCacheValue (#4205)

This commit is contained in:
Dag 2024-08-08 17:47:04 +02:00 committed by GitHub
parent 2acd415475
commit f358f1abec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 188 additions and 158 deletions

View file

@ -676,7 +676,7 @@ class FurAffinityBridge extends BridgeAbstract
$name = parent::getName();
if ($this->getOption('aCookie') !== null) {
$username = $this->loadCacheValue('username');
if ($username !== null) {
if ($username) {
$name = $username . '\'s ' . parent::getName();
}
}