Skip to content

Commit

Permalink
Removes unnecessary method override.
Browse files Browse the repository at this point in the history
  • Loading branch information
andparker committed Jul 31, 2015
1 parent 74c05d5 commit a19fc4a
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions controllers/admin/base_admin_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,6 @@ module.exports = function BaseAdminControllerModule(pb) {
cb();
};

/**
* Retrieves a context object that contains the necessary information for
* service prototypes
* @method getServiceContext
* @return {Object} the service context with onlyThisSite merged in
*/
BaseAdminController.prototype.getServiceContext = function(){
var context = BaseAdminController.super_.prototype.getServiceContext.apply(this);
context.onlyThisSite = true;
return context;
};


/**
* Centralized place to obtain the pills to be displayed on top of the admin controller
*
Expand Down

0 comments on commit a19fc4a

Please sign in to comment.