+### recover_posting() ##########################################################
+#
+# Recover a posting: delete 'invisible' flag
+#
+# Params: $forum Path and filename of forum
+# $tpath Path to thread files
+# \%hashref Reference: 'thread', 'posting', 'indexFile'
+# Return: -none-
+#
+sub recover_posting($$$)
+{
+ my ($forum, $tpath, $info) = @_;
+ my ($tid, $mid, $indexFile) = ('t' . $info->{'thread'},
+ 'm' . $info->{'posting'},
+ $info->{'indexFile'});
+
+ my $tfile = $tpath . '/' . $tid . '.xml';
+ change_posting_visibility($tfile, $tid, $mid, 0);
+ change_posting_visibility($forum, $tid, $mid, 0);
+}
+