Remove old favourite emotes storage

This commit is contained in:
Samuel Elliott 2018-08-22 23:45:25 +01:00
parent fd9c03ac2f
commit 4c0248ca00
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
1 changed files with 1 additions and 4 deletions

View File

@ -9,7 +9,6 @@
*/
import { Toasts } from 'ui';
import { EmoteModule } from 'builtin';
import { SettingsSet } from 'structs';
import { FileUtils, ClientLogger as Logger } from 'common';
import path from 'path';
@ -63,7 +62,6 @@ export default new class Settings {
CssEditor.setState(scss, css, css_editor_files, scss_error);
CssEditor.editor_bounds = css_editor_bounds || {};
EmoteModule.favourite_emotes = favourite_emotes || [];
} catch (err) {
// There was an error loading settings
// This probably means that the user doesn't have any settings yet
@ -87,8 +85,7 @@ export default new class Settings {
css: CssEditor.css,
css_editor_files: CssEditor.files,
scss_error: CssEditor.error,
css_editor_bounds: CssEditor.editor_bounds,
favourite_emotes: EmoteModule.favourite_emotes
css_editor_bounds: CssEditor.editor_bounds
});
for (const set of this.settings) {