[Bps-public-commit] r20224 - RT-Extension-rt_cpan_org/lib/RT/Extension
ruz at bestpractical.com
ruz at bestpractical.com
Wed Dec 23 22:15:33 EST 2009
Author: ruz
Date: Wed Dec 23 22:15:32 2009
New Revision: 20224
Modified:
RT-Extension-rt_cpan_org/lib/RT/Extension/rt_cpan_org.pm
Log:
* don't allow to override some options
* change set of themes to pick from
Modified: RT-Extension-rt_cpan_org/lib/RT/Extension/rt_cpan_org.pm
==============================================================================
--- RT-Extension-rt_cpan_org/lib/RT/Extension/rt_cpan_org.pm (original)
+++ RT-Extension-rt_cpan_org/lib/RT/Extension/rt_cpan_org.pm Wed Dec 23 22:15:32 2009
@@ -80,6 +80,15 @@
=cut
+# there is no sense in overriding default queue for rt.cpan.org
+require RT::Config;
+$RT::Config::META{'DefaultQueue'}{'Overridable'} = 0;
+$RT::Config::META{'UsernameFormat'}{'Overridable'} = 0;
+
+$RT::Config::META{'WebDefaultStylesheet'}{'WidgetArguments'}{'Values'} = [
+ qw(rt.cpan.org-web2 rt.cpan.org-3.5 rt.cpan.org-3.4)
+];
+
require RT::Interface::Web;
package RT::Interface::Web;
More information about the Bps-public-commit
mailing list