drop unnecessary code, restore instead of remove archived files in restoration script, change restore archived name

This commit is contained in:
ansuz
2019-06-13 12:03:46 +02:00
parent cb0c4ee944
commit 7e455e6fce
2 changed files with 3 additions and 15 deletions

View File

@@ -603,7 +603,7 @@ module.exports.create = function (
if (!isValidChannelId(channelName)) { return void cb(new Error('EINVAL')); }
archiveChannel(env, channelName, cb);
},
unarchiveChannel: function (channelName, cb) {
restoreArchivedChannel: function (channelName, cb) {
if (!isValidChannelId(channelName)) { return void cb(new Error('EINVAL')); }
unarchiveChannel(env, channelName, cb);
},