mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 04:39:55 +09:00
#19029741 - 스팸필터 IP차단시 메모 남길 수 있도록 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7612 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
480c268ff9
commit
54e75da57f
7 changed files with 23 additions and 5 deletions
|
|
@ -50,6 +50,8 @@
|
|||
if(!$oDB->isColumnExists('spamfilter_denied_word', 'hit')) return true;
|
||||
if(!$oDB->isColumnExists('spamfilter_denied_word', 'latest_hit')) return true;
|
||||
|
||||
if(!$oDB->isColumnExists('spamfilter_denied_ip', 'description')) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -90,6 +92,10 @@
|
|||
$oDB->addIndex('spamfilter_denied_word','idx_latest_hit', 'latest_hit');
|
||||
}
|
||||
|
||||
if(!$oDB->isColumnExists('spamfilter_denied_ip', 'description')) {
|
||||
$oDB->addColumn('spamfilter_denied_ip','description','varchar', 250);
|
||||
}
|
||||
|
||||
return new Object(0,'success_updated');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue