mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 05:25:15 +02:00
Add title to homepage verified check mark
- Decrease log level for not found Memcached keys
This commit is contained in:
parent
939a80ceb0
commit
561f22cdc4
6 changed files with 10 additions and 9 deletions
|
@ -127,7 +127,7 @@ class MemcachedCache extends AbstractCache implements ICanCacheInMemory
|
|||
if ($this->memcached->getResultCode() === Memcached::RES_SUCCESS) {
|
||||
return $value;
|
||||
} elseif ($this->memcached->getResultCode() === Memcached::RES_NOTFOUND) {
|
||||
$this->logger->notice('Try to use unknown key.', ['key' => $key]);
|
||||
$this->logger->debug('Try to use unknown key.', ['key' => $key]);
|
||||
return null;
|
||||
} else {
|
||||
throw new CachePersistenceException(sprintf('Cannot get cache entry with key %s', $key), new \MemcachedException($this->memcached->getResultMessage(), $this->memcached->getResultCode()));
|
||||
|
|
|
@ -467,6 +467,7 @@ class Profile
|
|||
'$account_type' => $account_type,
|
||||
'$location' => $location,
|
||||
'$homepage' => $homepage,
|
||||
'$homepage_verified' => DI::l10n()->t('This website has been verified to belong to the same person.'),
|
||||
'$about' => $about,
|
||||
'$network' => DI::l10n()->t('Network:'),
|
||||
'$contacts' => $contact_count,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue