Merge pull request #1511 from velesin/site_self_refactoring
removes unused context binding from Discourse.Site
This commit is contained in:
commit
9eb0644983
|
@ -45,7 +45,6 @@ Discourse.Site.reopenClass(Discourse.Singleton, {
|
||||||
},
|
},
|
||||||
|
|
||||||
create: function(obj) {
|
create: function(obj) {
|
||||||
var _this = this;
|
|
||||||
var result = this._super(obj);
|
var result = this._super(obj);
|
||||||
|
|
||||||
if (result.categories) {
|
if (result.categories) {
|
||||||
|
|
Loading…
Reference in New Issue