[REM] Removed 7.0 backward compatibility code

bzr revid: fme@openerp.com-20130404145729-wwt97ipxguj9dpa5
This commit is contained in:
Fabien Meghazi 2013-04-04 16:57:29 +02:00
parent 307ca374d6
commit 5318eca348
1 changed files with 0 additions and 7 deletions

View File

@ -662,13 +662,6 @@ instance.web.ViewManager = instance.web.Widget.extend({
},
add_breadcrumb: function(options) {
var options = options || {};
// 7.0 backward compatibility
if (typeof options == 'function') {
options = {
on_reverse_breadcrumb: options
};
}
// end of 7.0 backward compatibility
var self = this;
var views = [this.active_view || this.views_src[0].view_type];
this.on('switch_mode', self, function(mode) {