projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
modules
/
comment
/
src
/
Plugin
/
Action
/
UnpublishByKeywordComment.php
diff --git
a/web/core/modules/comment/src/Plugin/Action/UnpublishByKeywordComment.php
b/web/core/modules/comment/src/Plugin/Action/UnpublishByKeywordComment.php
index ec1b268d7bd6e6f254add2205489d7f94046ec3d..fe2f7ed5b0d6f09435c86c5c0d892485d76d5b56 100644
(file)
--- a/
web/core/modules/comment/src/Plugin/Action/UnpublishByKeywordComment.php
+++ b/
web/core/modules/comment/src/Plugin/Action/UnpublishByKeywordComment.php
@@
-78,7
+78,7
@@
class UnpublishByKeywordComment extends ConfigurableActionBase implements Contai
$text = $this->renderer->renderPlain($build);
foreach ($this->configuration['keywords'] as $keyword) {
if (strpos($text, $keyword) !== FALSE) {
- $comment->set
Published(FALSE
);
+ $comment->set
Unpublished(
);
$comment->save();
break;
}