[FIX] forgot testing code in web linkedin
bzr revid: nicolas.vanhoren@openerp.com-20120809094425-jgner67ra7rlqyw7
This commit is contained in:
parent
db1fe326e5
commit
410becf8db
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue