From 8b27026463c5746772b57f6e61de6e40080bf4fa Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Thu, 7 Jan 2021 14:40:02 +0100
Subject: [PATCH] Remove unused code

---
 src/dbp-signature-lit-element.js | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/src/dbp-signature-lit-element.js b/src/dbp-signature-lit-element.js
index 9e93096..6c211c8 100644
--- a/src/dbp-signature-lit-element.js
+++ b/src/dbp-signature-lit-element.js
@@ -193,26 +193,6 @@ export default class DBPSignatureLitElement extends LitElement {
         return (!this.isLoggedIn() && window.DBPAuthToken !== undefined);
     }
 
-    getOrganization() {
-        const organizationSelect = this._("dbp-knowledge-base-organization-select");
-
-        if (organizationSelect) {
-            const objectText = organizationSelect.getAttribute("data-object");
-
-            if (objectText !== null) {
-                return JSON.parse(objectText);
-            }
-        }
-
-        return null;
-    }
-
-    getOrganizationCode() {
-        const organization = this.getOrganization();
-
-        return organization !== null ? organization.alternateName : "";
-    }
-
     /**
      * Open Filesink for multiple files
      */
-- 
GitLab