comparison modules/mod_disco.js @ 52:296de54c1c4b

Rollback last commit error and fix typo error.
author Sonny Piers <sonny.piers@gmail.com>
date Mon, 21 Mar 2011 16:30:14 +0100
parents 22b06eade9a7
children 99bd1d1ac071
comparison
equal deleted inserted replaced
51:22b06eade9a7 52:296de54c1c4b
110 if (children[nodeID] == 'node') { 110 if (children[nodeID] == 'node') {
111 if (config.enabled('meta-data')) { 111 if (config.enabled('meta-data')) {
112 var metadata = storage.getMetadata(nodeID); 112 var metadata = storage.getMetadata(nodeID);
113 if (metadata['pubsub#title']) 113 if (metadata['pubsub#title'])
114 attr.name = metadata['pubsub#title']; 114 attr.name = metadata['pubsub#title'];
115 if (metadata['pubsub#creator'])
116 attr.creator = metadata['pubsub#creator'];
117 115
118 if (config.hideNonAccessibleNodes) { 116 if (config.hideNonAccessibleNodes) {
119 var configuration = storage.getConfiguration(nodeID); 117 var configuration = storage.getConfiguration(nodeID);
120 if (configuration['pubsub#access_model'] == 'whitelist') { 118 if (configuration['pubsub#access_model'] == 'whitelist') {
121 var affils = storage.getAffiliationsFromNodeID(nodeID); 119 var affils = storage.getAffiliationsFromNodeID(nodeID);