[FIX] forgot testing code in web linkedin

bzr revid: nicolas.vanhoren@openerp.com-20120809094425-jgner67ra7rlqyw7
This commit is contained in:
niv-openerp 2012-08-09 11:44:25 +02:00
parent db1fe326e5
commit 410becf8db
1 changed files with 0 additions and 2 deletions

View File

@ -37,7 +37,6 @@ openerp.web_linkedin = function(instance) {
if (this.api_key) {
return $.when();
}
return new instance.web.Model("ir.config_parameter").call("set_param", ["web.linkedin.apikey", ""]).pipe(function() {
return new instance.web.Model("ir.config_parameter").call("get_param", ["web.linkedin.apikey"]).pipe(function(a) {
if (!!a) {
self.api_key = a;
@ -46,7 +45,6 @@ openerp.web_linkedin = function(instance) {
return $.Deferred().reject();
}
});
});
},
test_authentication: function() {
return this.auth_def.promise();