diff --git a/ghost/core/core/shared/settings-cache/cache.js b/ghost/core/core/shared/settings-cache/cache.js index 2f235a3d8a..e221b9b2ef 100644 --- a/ghost/core/core/shared/settings-cache/cache.js +++ b/ghost/core/core/shared/settings-cache/cache.js @@ -22,6 +22,12 @@ class CacheManager { this.publicSettings = publicSettings; this.calculatedFields = []; + this.get = this.get.bind(this); + this.set = this.set.bind(this); + this.getAll = this.getAll.bind(this); + this.getPublic = this.getPublic.bind(this); + this.reset = this.reset.bind(this); + this._doGet = this._doGet.bind(this); this._updateSettingFromModel = this._updateSettingFromModel.bind(this); this._updateCalculatedField = this._updateCalculatedField.bind(this); }