Diff for perl-modules/Platon/Log/Mail/Postfix.pm between version 1.3 and 1.4
| version 1.3, 2004/10/29 23:02:30 |
version 1.4, 2004/10/30 00:27:43 |
|
|
| # 2004-10-19 - created |
# 2004-10-19 - created |
| # |
# |
| |
|
| # $Platon: perl-modules/Platon/Log/Mail/Postfix.pm,v 1.2 2004/10/21 18:28:55 rajo Exp $ |
# $Platon: perl-modules/Platon/Log/Mail/Postfix.pm,v 1.3 2004/10/29 23:02:30 rajo Exp $ |
| |
|
| package Platon::Log::Mail::Postfix; |
package Platon::Log::Mail::Postfix; |
| |
|
|
|
| { # {{{ |
{ # {{{ |
| my ($self, $conf) = @_; |
my ($self, $conf) = @_; |
| |
|
| $self->prepare_keyword('sql_delete', "DELETE FROM " . $conf->table); |
# DEBUG code: remove all rows from db for testing purposes |
| $self->{sql_delete}->execute(); |
#$self->prepare_keyword('sql_delete', "DELETE FROM " . $conf->table); |
| |
#$self->{sql_delete}->execute(); |
| |
|
| $self->prepare_keyword('sql_insert', " |
$self->prepare_keyword('sql_insert', " |
| INSERT INTO " . $conf->table . " |
INSERT INTO " . $conf->table . " |
Platon Group <platon@platon.org> http://platon.org/
|
|