diff options
-rw-r--r-- | CommentStreams/includes/ApiCSBase.php | 1 | ||||
-rw-r--r-- | CommentStreams/includes/ApiCSPostComment.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/CommentStreams/includes/ApiCSBase.php b/CommentStreams/includes/ApiCSBase.php index e524e97c..ac0a9991 100644 --- a/CommentStreams/includes/ApiCSBase.php +++ b/CommentStreams/includes/ApiCSBase.php @@ -112,6 +112,7 @@ abstract class ApiCSBase extends ApiBase { $logEntry->setTarget( $this->comment->getWikiPage()->getTitle() ); } $logid = $logEntry->insert(); + $logEntry->publish($logid); } /** diff --git a/CommentStreams/includes/ApiCSPostComment.php b/CommentStreams/includes/ApiCSPostComment.php index 83b35f91..925151f9 100644 --- a/CommentStreams/includes/ApiCSPostComment.php +++ b/CommentStreams/includes/ApiCSPostComment.php @@ -215,6 +215,7 @@ class ApiCSPostComment extends ApiBase { $logEntry->setPerformer( $this->getUser() ); $logEntry->setTarget( $title ); $logid = $logEntry->insert(); + $logEntry->publish($logid); } /** |