Software /
code /
prosody
Comparison
core/storagemanager.lua @ 6663:d3023dd07cb6
portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 06 May 2015 19:20:07 +0100 |
parent | 6552:bcb834728ee5 |
child | 6666:42fdc8dddf04 |
child | 6779:6236668da30a |
comparison
equal
deleted
inserted
replaced
6662:5ef319efedba | 6663:d3023dd07cb6 |
---|---|
21 local null_storage_driver = setmetatable( | 21 local null_storage_driver = setmetatable( |
22 { | 22 { |
23 name = "null", | 23 name = "null", |
24 open = function (self) return self; end | 24 open = function (self) return self; end |
25 }, { | 25 }, { |
26 __index = function (self, method) | 26 __index = function (self, method) --luacheck: ignore 212 |
27 return null_storage_method; | 27 return null_storage_method; |
28 end | 28 end |
29 } | 29 } |
30 ); | 30 ); |
31 | 31 |