aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-04-20 00:55:09 +0000
committerlpsolit%gmail.com <>2005-04-20 00:55:09 +0000
commitfcd963fcf1a72c5237739aa035be5d2f3bfa6ca8 (patch)
treec587ce50c25f228eb65dd974cff09da40e994bb8 /process_bug.cgi
parentBug 290372: Missing locked tables in editusers.cgi - Patch by Frédéric Bucl... (diff)
downloadbugzilla-fcd963fcf1a72c5237739aa035be5d2f3bfa6ca8.tar.gz
bugzilla-fcd963fcf1a72c5237739aa035be5d2f3bfa6ca8.tar.bz2
bugzilla-fcd963fcf1a72c5237739aa035be5d2f3bfa6ca8.zip
Bug 272623: FindWrapPoint is misplaced in process_bug.cgi - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi19
1 files changed, 0 insertions, 19 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 6f8303154..b62271e8b 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -1151,25 +1151,6 @@ sub SnapShotDeps {
my $timestamp;
my $bug_changed;
-sub FindWrapPoint {
- my ($string, $startpos) = @_;
- if (!$string) { return 0 }
- if (length($string) < $startpos) { return length($string) }
- my $wrappoint = rindex($string, ",", $startpos); # look for comma
- if ($wrappoint < 0) { # can't find comma
- $wrappoint = rindex($string, " ", $startpos); # look for space
- if ($wrappoint < 0) { # can't find space
- $wrappoint = rindex($string, "-", $startpos); # look for hyphen
- if ($wrappoint < 0) { # can't find hyphen
- $wrappoint = $startpos; # just truncate it
- } else {
- $wrappoint++; # leave hyphen on the left side
- }
- }
- }
- return $wrappoint;
-}
-
sub LogDependencyActivity {
my ($i, $oldstr, $target, $me, $timestamp) = (@_);
my $sql_timestamp = SqlQuote($timestamp);