There was an error while loading. Please reload this page.
1 parent a0e7fb1 commit b5a6376Copy full SHA for b5a6376
1 file changed
lib/private/Comments/Manager.php
@@ -1272,12 +1272,7 @@ protected function update(IComment $comment) {
1272
$this->sendEvent(CommentsEvent::EVENT_PRE_UPDATE, $this->get($comment->getId()));
1273
$this->uncache($comment->getId());
1274
1275
- try {
1276
- $result = $this->updateQuery($comment, true);
1277
- } catch (InvalidFieldNameException $e) {
1278
- // See function insert() for explanation
1279
- $result = $this->updateQuery($comment, false);
1280
- }
+ $result = $this->updateQuery($comment);
1281
1282
if ($comment->getVerb() === 'reaction_deleted') {
1283
$this->deleteReaction($comment);
0 commit comments