Browse Source

Simplified warnings to text-only

Alois Mahdal 12 years ago
parent
commit
946fc24e9b
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      lib/SugarTrail/Template/Condition.pm

+ 1
- 4
lib/SugarTrail/Template/Condition.pm View File

115
 sub warn {
115
 sub warn {
116
     my $self = shift;
116
     my $self = shift;
117
     my $text = shift;
117
     my $text = shift;
118
-    push @{$self->{warnings}}, {
119
-        time    => time,
120
-        text    => $text
121
-    };
118
+    push @{$self->{warnings}}, $text;
122
 }
119
 }
123
 
120
 
124
 1;
121
 1;