From 37ffd0fc4894958648e691d3d3470a00369467bf Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Fri, 24 Jul 2015 18:01:25 +0000 Subject: Bug 1187498: Disable SiteMapIndex extension if running on under development site instead of production --- extensions/SiteMapIndex/Extension.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extensions/SiteMapIndex/Extension.pm b/extensions/SiteMapIndex/Extension.pm index 4cc384b48..77fb6b54c 100644 --- a/extensions/SiteMapIndex/Extension.pm +++ b/extensions/SiteMapIndex/Extension.pm @@ -85,6 +85,9 @@ sub install_before_final_checks { return; } + return if (correct_urlbase() ne 'https://bugzilla.mozilla.org/'); + + $self->_fix_robots_txt(); } -- cgit v1.2.3-24-g4f1b