Index: portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/SiteHandler.java
===================================================================
--- portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/SiteHandler.java (revisiĆ³n: 46803)
+++ portal-impl/impl/src/java/org/sakaiproject/portal/charon/handlers/SiteHandler.java (copia de trabajo)
@@ -228,6 +228,14 @@
portal.includeBottom(rcontext);
}
+
+//Log the visit into SAKAI_EVENT - begin
+ try{
+ boolean presenceEvents = ServerConfigurationService.getBoolean("presence.events.log", true);
+ if (presenceEvents)
+ org.sakaiproject.presence.cover.PresenceService.setPresence(siteId + "-presence");
+ }catch(Exception e){}
+//End - log the visit into SAKAI_EVENT
rcontext.put("currentUrlPath", Web.serverUrl(req) + req.getContextPath()
+ req.getPathInfo());
Index: portal-impl/impl/pom.xml
===================================================================
--- portal-impl/impl/pom.xml (revisiĆ³n: 46803)
+++ portal-impl/impl/pom.xml (copia de trabajo)
@@ -91,6 +91,11 @@
org.sakaiproject
+ sakai-presence-api
+ ${sakai.version}
+
+
+ org.sakaiproject
sakai-tool-util
${sakai.version}