Commit 3346ad45 authored by endico%mozilla.org's avatar endico%mozilla.org

move new path code to beginning

parent 93065508
...@@ -27,13 +27,6 @@ ...@@ -27,13 +27,6 @@
use diagnostics; use diagnostics;
use strict; use strict;
use XML::Parser;
use Data::Dumper;
$Data::Dumper::Useqq = 1;
require "CGI.pl";
require "globals.pl";
$::lockcount = 0;
# figure out which path this script lives in. Set the current path to # figure out which path this script lives in. Set the current path to
# this and add it to @INC so this will work when run as part of mail # this and add it to @INC so this will work when run as part of mail
...@@ -43,6 +36,14 @@ $path =~ s#(.*)/[^/]+#$1#; ...@@ -43,6 +36,14 @@ $path =~ s#(.*)/[^/]+#$1#;
chdir $path; chdir $path;
use lib ($path); use lib ($path);
use XML::Parser;
use Data::Dumper;
$Data::Dumper::Useqq = 1;
require "CGI.pl";
require "globals.pl";
$::lockcount = 0;
GetVersionTable(); GetVersionTable();
ConnectToDatabase(); ConnectToDatabase();
...@@ -563,7 +564,6 @@ for (my $k=1 ; $k <= $bugqty ; $k++) { ...@@ -563,7 +564,6 @@ for (my $k=1 ; $k <= $bugqty ; $k++) {
} }
} }
$log .= "\n\n
my $subject = "$bugqty bug(s) successfully moved from $urlbase to " my $subject = "$bugqty bug(s) successfully moved from $urlbase to "
. Param("urlbase") ; . Param("urlbase") ;
my @to = ($exporter); my @to = ($exporter);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment