Skip to content

Commit

Permalink
Item980: Fixing small mistake. The meta update is done in Foswiki::Fu…
Browse files Browse the repository at this point in the history
…nc, but the manage one still needs to save the new data, as it modifies the links

git-svn-id: http://svn.foswiki.org/trunk@2519 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
OlivierRaginel authored and OlivierRaginel committed Feb 16, 2009
1 parent 8756ba7 commit 6af67a2
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions core/lib/Foswiki/UI/Manage.pm
Original file line number Diff line number Diff line change
Expand Up @@ -986,19 +986,8 @@ sub move {
$text = $session->renderer->forEachLine( $text,
\&Foswiki::Render::replaceTopicReferences, $options );

# Now done in Func::moveTopic.
# $meta->put(
# 'TOPICMOVED',
# {
# from => $oldWeb . '.' . $oldTopic,
# to => $newWeb . '.' . $newTopic,
# date => time(),
# by => $session->{user},
# }
# );
#
# $store->saveTopic( $session->{user}, $newWeb, $newTopic, $text, $meta,
# { minor => 1, comment => 'rename' } );
$store->saveTopic( $session->{user}, $newWeb, $newTopic, $text, $meta,
{ minor => 1, comment => 'rename' } );

# update referrers - but _not_ including the moved topic
_updateReferringTopics( $session, $oldWeb, $oldTopic, $newWeb, $newTopic,
Expand Down

0 comments on commit 6af67a2

Please sign in to comment.