- Session adminSession = null;
- try {
- // TODO centralise at a deeper level
- adminSession = CmsJcrUtils.openDataAdminSession(repository, null);
- SuiteJcrUtils.getOrCreateCmsSessionNode(adminSession, cmsSession);
- } finally {
- Jcr.logout(adminSession);
- }
+// Session adminSession = null;
+// try {
+// // TODO centralise at a deeper level
+// adminSession = CmsJcrUtils.openDataAdminSession(repository, null);
+// SuiteJcrUtils.getOrCreateCmsSessionNode(adminSession, cmsSession);
+// } finally {
+// Jcr.logout(adminSession);
+// }