Software / code / prosody
Comparison
plugins/mod_storage_internal.lua @ 8020:342ce07836de
mod_storage_internal: Ignore unused 'self' argument [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 31 Mar 2017 17:39:41 +0200 |
| parent | 8019:925098aad268 |
| child | 8021:83f18982bcfd |
comparison
equal
deleted
inserted
replaced
| 8019:925098aad268 | 8020:342ce07836de |
|---|---|
| 10 return nil, "unsupported-store"; | 10 return nil, "unsupported-store"; |
| 11 end | 11 end |
| 12 return setmetatable({ store = store, type = typ }, mt); | 12 return setmetatable({ store = store, type = typ }, mt); |
| 13 end | 13 end |
| 14 | 14 |
| 15 function driver:stores(username) | 15 function driver:stores(username) -- luacheck: ignore 212/self |
| 16 return datamanager.stores(username, host); | 16 return datamanager.stores(username, host); |
| 17 end | 17 end |
| 18 | 18 |
| 19 function driver:purge(user) | 19 function driver:purge(user) -- luacheck: ignore 212/self |
| 20 return datamanager.purge(user, host); | 20 return datamanager.purge(user, host); |
| 21 end | 21 end |
| 22 | 22 |
| 23 local keyval = { }; | 23 local keyval = { }; |
| 24 driver.keyval = { __index = keyval }; | 24 driver.keyval = { __index = keyval }; |