From edfc7a4916c9190ac81d2cfc90c5ca545d7c7409 Mon Sep 17 00:00:00 2001 From: brunob Date: Thu, 14 May 2020 20:28:20 +0200 Subject: [PATCH] bin: use correct ueberdb module path "ueberDB" -> "ueberdb2" in tools in /bin This change is analogous to #2998 (e11decc6f890). --- bin/convert.js | 4 ++-- bin/importSqlFile.js | 2 +- bin/rebuildPad.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/convert.js b/bin/convert.js index 7de2f9cb4..69bb2cbc7 100644 --- a/bin/convert.js +++ b/bin/convert.js @@ -1,7 +1,7 @@ var startTime = Date.now(); var fs = require("fs"); -var ueberDB = require("../src/node_modules/ueberDB"); -var mysql = require("../src/node_modules/ueberDB/node_modules/mysql"); +var ueberDB = require("../src/node_modules/ueberdb2"); +var mysql = require("../src/node_modules/ueberdb2/node_modules/mysql"); var async = require("../src/node_modules/async"); var Changeset = require("ep_etherpad-lite/static/js/Changeset"); var randomString = require('ep_etherpad-lite/static/js/pad_utils').randomString; diff --git a/bin/importSqlFile.js b/bin/importSqlFile.js index 25592438f..8bc78323a 100644 --- a/bin/importSqlFile.js +++ b/bin/importSqlFile.js @@ -4,7 +4,7 @@ require("ep_etherpad-lite/node_modules/npm").load({}, function(er,npm) { var fs = require("fs"); - var ueberDB = require("ep_etherpad-lite/node_modules/ueberDB"); + var ueberDB = require("ep_etherpad-lite/node_modules/ueberdb2"); var settings = require("ep_etherpad-lite/node/utils/Settings"); var log4js = require('ep_etherpad-lite/node_modules/log4js'); diff --git a/bin/rebuildPad.js b/bin/rebuildPad.js index 60c5f4ed3..0013718a9 100644 --- a/bin/rebuildPad.js +++ b/bin/rebuildPad.js @@ -10,7 +10,7 @@ if(process.argv.length != 4 && process.argv.length != 5) { var npm = require("../src/node_modules/npm"); var async = require("../src/node_modules/async"); -var ueberDB = require("../src/node_modules/ueberDB"); +var ueberDB = require("../src/node_modules/ueberdb2"); var padId = process.argv[2]; var newRevHead = process.argv[3];