Add the ability to publish / unpublish comments from rules.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | comment_actions-1315088-2.patch | 1.32 KB | JStanton |
| comment_actions.patch | 1.43 KB | JStanton |
Add the ability to publish / unpublish comments from rules.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | comment_actions-1315088-2.patch | 1.32 KB | JStanton |
| comment_actions.patch | 1.43 KB | JStanton |
Comments
Comment #2
JStanton commentedRerolled correctly
Comment #3
JStanton commentedAsking the testbot to test?
(Sorry, this is my first patch. Stumbling blindly thru it.)
Comment #5
JStanton commentedFWIW, this patch applies and works correctly. Is there a problem with the Rules tests in general?
Comment #6
mitchell commentedComment #7
fagoyes, the test bot has recently troubles with rules tests.
Having to write those generic code for two actions looks odd. Let's better do this two action-infos without a foreach, so we don't need to fuddle with strings.
This should use the respective comment permission.
Comment #8
fagoYes, recently the bot has troubles with rules tests.
Let's better save this foreach and string-fuddeling and just add the action-info for those two actions without generic-looping.
All we need to do is taking over the label, right?
Should use the respective comment permission.
Comment #10
pfructuoso commentedSubscribe
I'm using this patch with last rules version and it works perfectly.
Comment #11
mitchell commented#1269838: Get comment status as data propert.