Local_group and User are now assumed to be in same namespace

This commit is contained in:
Mikael Nordfeldth
2013-10-17 01:16:03 +02:00
parent cd0e3f1fa4
commit 6ed66d9c76
15 changed files with 200 additions and 342 deletions

View File

@@ -41,7 +41,7 @@ if (!defined('GNUSOCIAL')) { exit(1); }
class GroupNoProfileException extends NoProfileException
{
public $group = null;
protected $group = null;
/**
* constructor
@@ -53,8 +53,8 @@ class GroupNoProfileException extends NoProfileException
{
$this->group = $group;
// TRANS: Exception text shown when no profile can be found for a user.
// TRANS: %1$s is a user nickname, $2$d is a user ID (number).
// TRANS: Exception text shown when no profile can be found for a group.
// TRANS: %1$s is a group nickname, $2$d is a group profile_id (number).
$message = sprintf(_('User %1$s (%2$d) has no profile record.'),
$group->nickname, $group->id);