Removed unused parameter and renamed method so it doesn't refer just to db bound layers, but we can use it to unpublish all kind of layers. The method was unused in ohiggins, so there should be no trouble due this change.