diff --git a/mozilla/webtools/testopia/extensions/testopia/code/install-before_final_checks.pl b/mozilla/webtools/testopia/extensions/testopia/code/install-before_final_checks.pl new file mode 100644 index 00000000000..30a031faff0 --- /dev/null +++ b/mozilla/webtools/testopia/extensions/testopia/code/install-before_final_checks.pl @@ -0,0 +1,28 @@ +#!/usr/bin/perl -w +# -*- Mode: perl; indent-tabs-mode: nil -*- +# +# The contents of this file are subject to the Mozilla Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is the Bugzilla Testopia System. +# +# The Initial Developer of the Original Code is Greg Hendricks. +# Portions created by Greg Hendricks are Copyright (C) 2009 +# Novell. All Rights Reserved. +# +# Contributor(s): Greg Hendricks + +use strict; +use lib '.'; +use Bugzilla; +use Bugzilla::User::Setting; + +add_setting('view_testopia', ['on', 'off'], 'on'); + diff --git a/mozilla/webtools/testopia/testopia/patch-3.2 b/mozilla/webtools/testopia/testopia/patch-3.2 index 9510a4a2d0b..705b6b4cf57 100644 --- a/mozilla/webtools/testopia/testopia/patch-3.2 +++ b/mozilla/webtools/testopia/testopia/patch-3.2 @@ -115,22 +115,6 @@ diff -u -r1.23.2.1 Error.pm } exit; } -Index: Bugzilla/Install.pm -=================================================================== -RCS file: /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Install.pm,v -retrieving revision 1.17 -diff -u -r1.17 Install.pm ---- Bugzilla/Install.pm 28 Nov 2007 16:35:57 -0000 1.17 -+++ Bugzilla/Install.pm 18 Dec 2008 22:33:01 -0000 -@@ -60,6 +60,8 @@ - # 2006-12-10 LpSolit@gmail.com -- Bug 297186 - lang => { subclass => 'Lang', - default => ${Bugzilla->languages}[0] }, -+ view_testopia => { options => ['on', 'off'], -+ default => 'on' }, - # 2007-07-02 altlist@gmail.com -- Bug 225731 - quote_replies => { options => ['quoted_reply', 'simple_reply', 'off'], - default => "quoted_reply" } Index: Bugzilla/User.pm =================================================================== RCS file: /cvsroot/mozilla/webtools/bugzilla/Bugzilla/User.pm,v