aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-07-07 17:40:23 +0100
committerMatthew Wild <mwild1@gmail.com>2015-07-07 17:40:23 +0100
commitdf54b384f57d52bc5289f62dcd04772558d5ecef (patch)
tree239856250a79922dc47a4cbba388ce64efadd0f9 /plugins
parent254bb34415290bbd60ae94d548fc541c63116115 (diff)
downloadprosody-df54b384f57d52bc5289f62dcd04772558d5ecef.tar.gz
prosody-df54b384f57d52bc5289f62dcd04772558d5ecef.zip
mod_storage_sql2: Add missing return to upgrade_table(), so we know if an upgrade is required
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_storage_sql2.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_storage_sql2.lua b/plugins/mod_storage_sql2.lua
index bba27748..59c50b5a 100644
--- a/plugins/mod_storage_sql2.lua
+++ b/plugins/mod_storage_sql2.lua
@@ -376,6 +376,7 @@ local function upgrade_table(params, apply_changes)
return false;
end
end
+ return changes;
end
local function normalize_params(params)