diff --git a/app/assets/javascripts/discourse/models/user.js b/app/assets/javascripts/discourse/models/user.js index 4cf9bf28979..d1b84266173 100644 --- a/app/assets/javascripts/discourse/models/user.js +++ b/app/assets/javascripts/discourse/models/user.js @@ -26,25 +26,6 @@ Discourse.User = Discourse.Model.extend({ **/ staff: Em.computed.or('admin', 'moderator'), - /** - Large version of this user's avatar. - - @property avatarLarge - @type {String} - **/ - avatarLarge: function() { - return Discourse.Utilities.avatarUrl(this.get('username'), 'large', this.get('avatar_template')); - }.property('username'), - - /** - Small version of this user's avatar. - - @property avatarSmall - @type {String} - **/ - avatarSmall: function() { - return Discourse.Utilities.avatarUrl(this.get('username'), 'small', this.get('avatar_template')); - }.property('username'), searchContext: function() { return ({ type: 'user', id: this.get('username_lower'), user: this }); diff --git a/config/initializers/06-mini_profiler.rb b/config/initializers/06-mini_profiler.rb index 3858000afb0..a7a5dbec5d9 100644 --- a/config/initializers/06-mini_profiler.rb +++ b/config/initializers/06-mini_profiler.rb @@ -20,7 +20,6 @@ if defined?(Rack::MiniProfiler) (env['PATH_INFO'] !~ /topics\/timings/) && (env['PATH_INFO'] !~ /assets/) && (env['PATH_INFO'] !~ /qunit/) && - (env['PATH_INFO'] !~ /users\/.*\/avatar/) && (env['PATH_INFO'] !~ /srv\/status/) && (env['PATH_INFO'] !~ /commits-widget/) end