mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 03:23:40 +00:00
[gravatar] Use addon config entries instead of the db
This commit is contained in:
parent
5e2ebd13b9
commit
ab5aea8328
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ function gravatar_addon_admin (App $a, string &$o)
|
|||
];
|
||||
|
||||
// Check if Libravatar is enabled and show warning
|
||||
if (DBA::exists('addon', ['name' => 'libravatar', 'installed' => true])) {
|
||||
if (!empty(DI::config()->get('addons', 'libravatar'))) {
|
||||
$o = '<h5>' .DI::l10n()->t('Information') .'</h5><p>' .DI::l10n()->t('Libravatar addon is installed, too. Please disable Libravatar addon or this Gravatar addon.<br>The Libravatar addon will fall back to Gravatar if nothing was found at Libravatar.') .'</p><br><br>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue