Ver código fonte

Simplified warnings to text-only

Alois Mahdal 11 anos atrás
pai
commit
946fc24e9b
1 arquivos alterados com 1 adições e 4 exclusões
  1. 1
    4
      lib/SugarTrail/Template/Condition.pm

+ 1
- 4
lib/SugarTrail/Template/Condition.pm Ver arquivo

@@ -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;