• R/O
  • HTTP
  • SSH
  • HTTPS

pukiwiki: Commit


Commit MetaInfo

Revision701dbd4da26cf6a4a0fb796beaae559032e98900 (tree)
Time2016-02-06 05:30:13
Authorumorigu <umorigu@gmai...>
Commiterumorigu

Log Message

ButTrack2/374 Remove author info on detecting edit collision

Change Summary

Incremental Difference

--- a/plugin/edit.inc.php
+++ b/plugin/edit.inc.php
@@ -193,7 +193,8 @@ function plugin_edit_write()
193193 $vars['digest'] = $oldpagemd5; // Reset
194194
195195 $original = isset($vars['original']) ? $vars['original'] : '';
196- list($postdata_input, $auto) = do_update_diff($oldpagesrc, $msg, $original);
196+ $old_body = remove_author_info($oldpagesrc);
197+ list($postdata_input, $auto) = do_update_diff($old_body, $msg, $original);
197198
198199 $retvars['msg' ] = $_title_collided;
199200 $retvars['body'] = ($auto ? $_msg_collided_auto : $_msg_collided) . "\n";
Show on old repository browser