Diff

plugins/mod_pubsub/pubsub.lib.lua @ 8318:d0a7fc7614de

mod_pubsub, mod_pep_plus: Rename simple_itemstore to reflect that it's based on archive storage
author Kim Alvefur <zash@zash.se>
date Thu, 12 Oct 2017 01:31:08 +0200
parent 8317:ff57b3cc5a8e
child 8320:fe5eaf4ed631
line wrap: on
line diff
--- a/plugins/mod_pubsub/pubsub.lib.lua	Wed Oct 11 22:18:26 2017 +0200
+++ b/plugins/mod_pubsub/pubsub.lib.lua	Thu Oct 12 01:31:08 2017 +0200
@@ -331,7 +331,7 @@
 	return item;
 end
 
-local function simple_itemstore(archive, config, user, node, expose_publisher)
+local function archive_itemstore(archive, config, user, node, expose_publisher)
 	module:log("debug", "Creation of itemstore for node %s with config %s", node, config);
 	local get_set = {};
 	function get_set:items() -- luacheck: ignore 212/self
@@ -389,6 +389,6 @@
 	end
 	return setmetatable(get_set, archive);
 end
-_M.simple_itemstore = simple_itemstore;
+_M.archive_itemstore = archive_itemstore;
 
 return _M;