[Rt-commit] r8294 - in rtir/branches/2.3-EXPERIMENTAL: .
thayes at bestpractical.com
thayes at bestpractical.com
Wed Jul 25 17:37:18 EDT 2007
Author: thayes
Date: Wed Jul 25 17:37:18 2007
New Revision: 8294
Modified:
rtir/branches/2.3-EXPERIMENTAL/ (props changed)
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Display.html
Log:
r8440 at toth: toth | 2007-07-25 17:32:31 -0400
* Improved messages for removed locks
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Display.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Display.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Display.html Wed Jul 25 17:37:18 2007
@@ -274,10 +274,8 @@
} elsif ( $lock->Content->{'User'} == $session{'CurrentUser'}->id ) {
$duration = time() - $lock->Content->{'Timestamp'};
- my $date = RT::Date->new($session{'CurrentUser'});
- $duration = $date->DurationAsString($duration);
$Ticket->Unlock();
- push @results, loc('You have unlocked this ticket (locked for ' . $duration . ')');
+ push @results, loc('You have unlocked this ticket');
} else {
push @results,
loc("You can't unlock tickets that you did not lock");
More information about the Rt-commit
mailing list