]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Group.php
Many t() calls
[friendica.git] / src / Model / Group.php
index a5cd57d47d6c9c0b8d09b7238f13556d9427de98..db7009151aedc29d9e979feb3df85d6b6bc9d669 100644 (file)
@@ -1,11 +1,11 @@
 <?php
-
 /**
  * @file src/Model/Group.php
  */
 
 namespace Friendica\Model;
 
+use Friendica\Core\L10n;
 use Friendica\BaseObject;
 use Friendica\Database\DBM;
 use dba;
@@ -42,7 +42,7 @@ class Group extends BaseObject
                                $group = dba::selectFirst('group', ['deleted'], ['id' => $gid]);
                                if (DBM::is_result($group) && $group['deleted']) {
                                        dba::update('group', ['deleted' => 0], ['gid' => $gid]);
-                                       notice(t('A deleted group with this name was revived. Existing item permissions <strong>may</strong> apply to this group and any future members. If this is not what you intended, please create another group with a different name.') . EOL);
+                                       notice(L10n::t('A deleted group with this name was revived. Existing item permissions <strong>may</strong> apply to this group and any future members. If this is not what you intended, please create another group with a different name.') . EOL);
                                }
                                return true;
                        }