From 5318eca3480b383289736105d90d75faa9745eed Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Thu, 4 Apr 2013 16:57:29 +0200 Subject: [PATCH] [REM] Removed 7.0 backward compatibility code bzr revid: fme@openerp.com-20130404145729-wwt97ipxguj9dpa5 --- addons/web/static/src/js/views.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/addons/web/static/src/js/views.js b/addons/web/static/src/js/views.js index befbc7fe793..5df048d8b7a 100644 --- a/addons/web/static/src/js/views.js +++ b/addons/web/static/src/js/views.js @@ -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) {