Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
feat(telecom.spare): remove useless cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephanie Moallic committed Jul 29, 2019
1 parent b3885a3 commit d9985b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/api/telephony/spare/telephony-spare.service.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
angular.module("ovh-api-services").service("OvhApiTelephonySpare", function ($injector, $cacheFactory) {
angular.module("ovh-api-services").service("OvhApiTelephonySpare", function ($injector) {
"use strict";

return {
v6: function () {
return $injector.get("OvhApiTelephonySpareV6");
},
resetCache: function () {
cache.removeAll();
}
};
});
5 changes: 1 addition & 4 deletions src/api/xdsl/spare/xdsl-spare.service.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
angular.module("ovh-api-services").service("OvhApiXdslSpare", function ($injector, $cacheFactory) {
angular.module("ovh-api-services").service("OvhApiXdslSpare", function ($injector) {
"use strict";

return {
v6: function () {
return $injector.get("OvhApiXdslSpareV6");
},
resetCache: function () {
cache.removeAll();
}
};
});

0 comments on commit d9985b6

Please sign in to comment.