From 0160f0a8c61f2ec575d735ee6e90acfa07aef8e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Sun, 11 Dec 2022 17:23:08 -0300 Subject: [PATCH] Remove unused CommonActions.openDb() function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MaurĂ­cio Meneghini Fauth --- js/src/modules/common.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/js/src/modules/common.js b/js/src/modules/common.js index 29858137e0..af92e26915 100644 --- a/js/src/modules/common.js +++ b/js/src/modules/common.js @@ -125,21 +125,6 @@ const CommonActions = { CommonParams.setAll({ 'db': newDb, 'table': '' }); } }, - /** - * Opens a database in the main part of the page - * - * @param {string} newDb The name of the new database - * - * @return {void} - */ - openDb: function (newDb) { - CommonParams - .set('db', newDb) - .set('table', ''); - this.refreshMain( - CommonParams.get('opendb_url') - ); - }, /** * Refreshes the main frame *