Comparison

plugins/mod_storage_internal.lua @ 5033:c64b5081bfa8

mod_storage_internal: Add method for listing stores
author Kim Alvefur <zash@zash.se>
date Sat, 28 Jul 2012 21:24:59 +0200
parent 4085:7699cef04740
child 5039:656ce68c4781
comparison
equal deleted inserted replaced
5032:c40ea227f8af 5033:c64b5081bfa8
14 14
15 function driver:set(user, data) 15 function driver:set(user, data)
16 return datamanager.store(user, host, self.store, data); 16 return datamanager.store(user, host, self.store, data);
17 end 17 end
18 18
19 function driver:list_stores(username)
20 return datamanager.list_stores(username, host);
21 end
22
19 module:add_item("data-driver", driver); 23 module:add_item("data-driver", driver);