diff options
author | Brian Evans <grknight@gentoo.org> | 2018-12-20 11:19:38 -0500 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2018-12-20 11:19:38 -0500 |
commit | 6fa050e9c471eb643ed100df7d1bfccd40ff00a6 (patch) | |
tree | 0c8cd61c2b48f30d7f669c964eb7aa6f823bbf58 /CommentStreams | |
parent | CommentStreams: Update to 4.5 (diff) | |
download | extensions-6fa050e9c471eb643ed100df7d1bfccd40ff00a6.tar.gz extensions-6fa050e9c471eb643ed100df7d1bfccd40ff00a6.tar.bz2 extensions-6fa050e9c471eb643ed100df7d1bfccd40ff00a6.zip |
CommitStreams: Log to RecentChanges
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'CommentStreams')
-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); } /** |