From: henoheno Date: Tue, 23 Nov 2004 12:19:14 +0000 (+0900) Subject: Cleanup for paragraph-edit. Remove unused global and redundant 'paraedit' option X-Git-Tag: r1_5_0_rc1~805 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=3a9c480d04dd6026ff9b3a7c7d191807530743e0;p=pukiwiki%2Fpukiwiki.git Cleanup for paragraph-edit. Remove unused global and redundant 'paraedit' option --- diff --git a/plugin/edit.inc.php b/plugin/edit.inc.php index 478e5fa..d5cab02 100644 --- a/plugin/edit.inc.php +++ b/plugin/edit.inc.php @@ -2,7 +2,7 @@ ///////////////////////////////////////////////// // PukiWiki - Yet another WikiWikiWeb clone. // -// $Id: edit.inc.php,v 1.25 2004/11/23 12:16:20 henoheno Exp $ +// $Id: edit.inc.php,v 1.26 2004/11/23 12:19:14 henoheno Exp $ // // Edit plugin @@ -24,9 +24,7 @@ function plugin_edit_action() } $postdata = @join('', get_source($page)); - if ($postdata == '') { - $postdata = auto_template($page); - } + if ($postdata == '') $postdata = auto_template($page); return array('msg'=>$_title_edit, 'body'=>edit_form($page, $postdata)); }