This commit is contained in:
Mirco Wittrien 2020-02-13 13:59:37 +01:00
parent e6070cdd4d
commit d9f68437ad
4 changed files with 2 additions and 24 deletions

View File

@ -171,21 +171,6 @@ var PinDMs = (_ => {
if (this.started) return;
BDFDB.PluginUtils.init(this);
// REMOVE 05.01.2020
let oldData = this.sortAndUpdate("pinnedDMs");
if (oldData.length) {
let id = this.generateID("dmCategories").toString();
BDFDB.DataUtils.save({
id: id,
name: this.labels.header_pinneddms_text,
dms: oldData,
pos: 0,
color: null,
collapsed: false
}, this, "dmCategories", id);
BDFDB.DataUtils.remove(this, "pinnedDMs");
}
this.forceUpdateAll();
}
else console.error(`%c[${this.getName()}]%c`, "color: #3a71c1; font-weight: 700;", "", "Fatal Error: Could not load BD functions!");

View File

@ -244,7 +244,7 @@ var PluginRepo = (_ => {
if (this.started) return;
BDFDB.PluginUtils.init(this);
// REMOVE 18.01.2020
// REMOVE 10.02.2020
let olddata = BDFDB.DataUtils.load(this, "ownlist", "ownlist");
if (olddata) {
BDFDB.DataUtils.save(olddata, this, "custom");

View File

@ -73,13 +73,6 @@ var ServerHider = (_ => {
if (this.started) return;
BDFDB.PluginUtils.init(this);
// REMOVE 22.11.2019
let olddata = BDFDB.DataUtils.load(this, "hiddenservers", "hiddenservers");
if (olddata) {
BDFDB.DataUtils.save(olddata, this, "hidden", "servers");
BDFDB.DataUtils.remove(this, "hiddenservers");
}
BDFDB.ModuleUtils.patch(this, BDFDB.LibraryModules.FolderStore, "getGuildFolderById", {after: e => {
let hiddenGuildIds = BDFDB.DataUtils.load(this, "hidden", "servers") || [];
if (e.returnValue && hiddenGuildIds.length) {

View File

@ -316,7 +316,7 @@ var ThemeRepo = (_ => {
if (this.started) return;
BDFDB.PluginUtils.init(this);
// REMOVE 18.01.2020
// REMOVE 10.02.2020
let olddata = BDFDB.DataUtils.load(this, "ownlist", "ownlist");
if (olddata) {
BDFDB.DataUtils.save(olddata, this, "custom");