Version 4.7.0
This commit is contained in:
1 parent
517a5e1f70
commit
8ba7d43898
1933 files changed
+65613
-11332
No files matched your search
@@ -81,6 +81,8 @@ trait Solvable
|
||||
$oldComment = $commentClass::load( $this->$solvedField );
|
||||
$oldComment->setSolved( FALSE );
|
||||
$oldComment->save();
|
||||
|
||||
\IPS\Db::i()->delete( 'core_solved_index', array( 'comment_class=? AND comment_id=?', $commentClass, $oldComment->$commentIdField ) );
|
||||
}
|
||||
catch( \Exception $e ) { }
|
||||
}
|
||||
@@ -134,6 +136,9 @@ trait Solvable
|
||||
\IPS\Member::load( $memberToRecount )->recountNotifications();
|
||||
}
|
||||
}
|
||||
|
||||
/* Update search index */
|
||||
\IPS\Content\Search\Index::i()->index( $comment );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user