projects
/
mir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4a89797
)
fixed a filter updating bug
author
zapata
<zapata>
Wed, 15 Aug 2007 23:09:31 +0000
(23:09 +0000)
committer
zapata
<zapata>
Wed, 15 Aug 2007 23:09:31 +0000
(23:09 +0000)
source/mircoders/abuse/FilterEngine.java
patch
|
blob
|
history
diff --git
a/source/mircoders/abuse/FilterEngine.java
b/source/mircoders/abuse/FilterEngine.java
index
f21885c
..
10f9ac8
100755
(executable)
--- a/
source/mircoders/abuse/FilterEngine.java
+++ b/
source/mircoders/abuse/FilterEngine.java
@@
-226,17
+226,13
@@
public class FilterEngine {
String aCommentAction) {
try {
String aCommentAction) {
try {
- getFilterTypeForId(aType).constructFilterInstance(anExpression);
+ getFilterForId(anId).update(aType, anExpression, aComments, aTag,
+ anArticleAction, aCommentAction);
}
catch (AbuseExc e) {
return e.getMessage();
}
}
catch (AbuseExc e) {
return e.getMessage();
}
- Entity entity = getFilterForId(anId).getEntity();
- populateFilterEntity(entity, aType, anExpression, aComments, aTag,
- anArticleAction, aCommentAction);
- entity.update();
-
return "";
}
return "";
}