mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 09:34:26 +02:00
Move L10n::t() calls to DI::l10n()->t() calls
This commit is contained in:
parent
af88c2daa3
commit
5dfee31108
175 changed files with 2841 additions and 2841 deletions
|
@ -551,7 +551,7 @@ class Photo
|
|||
GROUP BY `album` ORDER BY `created` DESC",
|
||||
intval($uid),
|
||||
DBA::escape("Contact Photos"),
|
||||
DBA::escape(L10n::t("Contact Photos"))
|
||||
DBA::escape(DI::l10n()->t("Contact Photos"))
|
||||
);
|
||||
} else {
|
||||
// This query doesn't do the count and is much faster
|
||||
|
@ -560,7 +560,7 @@ class Photo
|
|||
WHERE `uid` = %d AND `album` != '%s' AND `album` != '%s' $sql_extra",
|
||||
intval($uid),
|
||||
DBA::escape("Contact Photos"),
|
||||
DBA::escape(L10n::t("Contact Photos"))
|
||||
DBA::escape(DI::l10n()->t("Contact Photos"))
|
||||
);
|
||||
}
|
||||
DI::cache()->set($key, $albums, Duration::DAY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue