equal
deleted
inserted
replaced
38 end |
38 end |
39 end |
39 end |
40 |
40 |
41 local function simple_itemstore(config, node) |
41 local function simple_itemstore(config, node) |
42 local archive = module:open_store("pubsub_"..node, "archive"); |
42 local archive = module:open_store("pubsub_"..node, "archive"); |
43 return lib_pubsub.archive_itemstore(archive, config, nil, node, expose_publisher); |
43 return lib_pubsub.archive_itemstore(archive, config, nil, node); |
44 end |
44 end |
45 |
45 |
46 if enable_persistence then |
46 if enable_persistence then |
47 module:log("warn", "Item persistence is an experimental feature. Note that ownership information is lost on restart.") |
47 module:log("warn", "Item persistence is an experimental feature. Note that ownership information is lost on restart.") |
48 else |
48 else |