From e50f1bde4eccae18724543c199ff5984a8443bdd Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 18 Feb 2020 09:53:20 +0100 Subject: [PATCH] cleaning --- PostLoader.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/PostLoader.js b/PostLoader.js index 5b33252a4..bb34c97ea 100644 --- a/PostLoader.js +++ b/PostLoader.js @@ -45,18 +45,6 @@ function newDashboard () { if (canvas !== undefined) { canvas.finalize() } - /* Here we check where we are executing. In case we are Local we need to create a Local Dummy User and Data Mine. */ - - if (window.canvasApp.executingAt === 'Local') { - window.localStorage.setItem(LOGGED_IN_ACCESS_TOKEN_LOCAL_STORAGE_KEY, 'Local Access Token') // Dummy Access Token - window.localStorage.setItem(LOGGED_IN_USER_LOCAL_STORAGE_KEY, '{"authId":"x|x","alias":"user"}') // Dummy Local User - } - - /* Here we used to have a call to the DataMines Module to get the profile pictures. That was removed but to keep things working, we do this: */ - - window.canvasApp.context.dataMineProfileImages = new Map() - window.canvasApp.context.fbProfileImages = new Map() - setTimeout(delayedStart, DEBUG_START_UP_DELAY) } } catch (err) {