зеркало из https://github.com/nextcloud/activity.git
use display name
This commit is contained in:
Родитель
29916ced18
Коммит
cf2793e404
|
@ -107,6 +107,7 @@ class Data
|
||||||
while ($row = $result->fetchRow()) {
|
while ($row = $result->fetchRow()) {
|
||||||
$row['subject'] = \OCA\Activity\Data::translation($row['app'],$row['subject'],unserialize($row['subjectparams']));
|
$row['subject'] = \OCA\Activity\Data::translation($row['app'],$row['subject'],unserialize($row['subjectparams']));
|
||||||
$row['message'] = \OCA\Activity\Data::translation($row['app'],$row['message'],unserialize($row['messageparams']));
|
$row['message'] = \OCA\Activity\Data::translation($row['app'],$row['message'],unserialize($row['messageparams']));
|
||||||
|
$row['user'] = \OCP\User::getDisplayName($row['user']);
|
||||||
$activity[] = $row;
|
$activity[] = $row;
|
||||||
}
|
}
|
||||||
return $activity;
|
return $activity;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче