Browse Source

Simplified warnings to text-only

Alois Mahdal 11 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,10 +115,7 @@ sub match {
115 115
 sub warn {
116 116
     my $self = shift;
117 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 121
 1;