mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added logger to AVMRepository, by the way. Web-site summary now shows
the correct number of users. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3882 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -213,8 +213,8 @@ public class AVMBrowseBean implements IContextListener
|
|||||||
AVMStoreDescriptor store = this.avmService.getAVMStore(stagingStore);
|
AVMStoreDescriptor store = this.avmService.getAVMStore(stagingStore);
|
||||||
if (store != null)
|
if (store != null)
|
||||||
{
|
{
|
||||||
// TODO: count user stores with correct query
|
// count user stores
|
||||||
int users = avmService.queryStoresPropertyKeys(QName.createQName(null, storeRoot + "-%" + AVMConstants.STORE_MAIN)).size();
|
int users = avmService.queryStoresPropertyKeys(QName.createQName(null, AVMConstants.PROP_SANDBOX_STORE_PREFIX + storeRoot + "-%" + AVMConstants.STORE_MAIN)).size();
|
||||||
summary.append(msg.getString(MSG_CREATED_ON)).append(": ")
|
summary.append(msg.getString(MSG_CREATED_ON)).append(": ")
|
||||||
.append(Utils.getDateFormat(fc).format(new Date(store.getCreateDate())))
|
.append(Utils.getDateFormat(fc).format(new Date(store.getCreateDate())))
|
||||||
.append("<p>");
|
.append("<p>");
|
||||||
|
Reference in New Issue
Block a user