X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Femails.inc.php;h=4104649e11c76f2fd331eeace7dc382925cd9397;hb=54fe4c264bf53138883679083d10f058b21a0895;hp=ab54a400114f03a7c876e42d98901a2182f46484;hpb=0337d704b62718d7c77106c0e4c4e26fb02beacf;p=platal.git diff --git a/include/emails.inc.php b/include/emails.inc.php index ab54a40..4104649 100644 --- a/include/emails.inc.php +++ b/include/emails.inc.php @@ -69,7 +69,7 @@ class Bogo // {{{ properties var $state; - var $_states = Array('let_spams', 'tag_spams', 'drop_spams'); + var $_states = Array('let_spams', 'tag_spams', 'tag_and_drop_spams', 'drop_spams'); // }}} // {{{ constructor @@ -81,9 +81,9 @@ class Bogo if ($res->numRows()) { $this->state = $res->fetchOneCell(); } else { - $this->state = 'tag_spams'; + $this->state = 'tag_and_drop_spams'; $res = $globals->xdb->query("INSERT INTO emails (uid,email,rewrite,panne,flags) - VALUES ({?},'tag_spams','','0000-00-00','filter')", $uid); + VALUES ({?},'tag_and_drop_spams','','0000-00-00','filter')", $uid); } }