diff --git a/plugin/zoom/endpoint.php b/plugin/zoom/endpoint.php
index 3f9555ad44..5de3a96ad1 100644
--- a/plugin/zoom/endpoint.php
+++ b/plugin/zoom/endpoint.php
@@ -50,7 +50,6 @@ if ($meeting) {
$activity->setName($action);
$activity->setType($objectType);
$activity->setEvent(json_encode($object));
- $activity->setUser(api_get_user_entity(api_get_user_id()));
}
switch ($objectType) {
diff --git a/plugin/zoom/view/activity.tpl b/plugin/zoom/view/activity.tpl
index 1138f1e473..89f912d3a0 100644
--- a/plugin/zoom/view/activity.tpl
+++ b/plugin/zoom/view/activity.tpl
@@ -11,7 +11,7 @@
| {{ 'Type'|get_lang }} |
{{ 'Action'|get_plugin_lang('ZoomPlugin') }} |
- {{ 'User'|get_lang }} |
+{# {{ 'User'|get_lang }} | #}
{{ 'Date'|get_lang }} |
{{ 'Details'|get_lang }} |
@@ -28,15 +28,15 @@
{{ activity.createdAt | api_convert_and_format_date(3)}}
|
-
- {% if _u.is_admin %}
-
- {{ activity.user.firstname }} {{ activity.user.lastname }} {{ activity.user.username }}
-
- {% else %}
- {{ activity.user.firstname }} {{ activity.user.lastname }} ({{ activity.user.username }})
- {% endif %}
- |
+{# #}
+{# {% if _u.is_admin %}#}
+{# #}
+{# {{ activity.user.firstname }} {{ activity.user.lastname }} ({{ activity.user.username }})#}
+{# #}
+{# {% else %}#}
+{# {{ activity.user.firstname }} {{ activity.user.lastname }} ({{ activity.user.username }})#}
+{# {% endif %}#}
+{# | #}
{% if activity.eventDecoded.registrant %}
{{ 'User' | get_lang }} :
|