From 3a9c480d04dd6026ff9b3a7c7d191807530743e0 Mon Sep 17 00:00:00 2001 From: henoheno Date: Tue, 23 Nov 2004 21:19:14 +0900 Subject: [PATCH] Cleanup for paragraph-edit. Remove unused global and redundant 'paraedit' option --- plugin/edit.inc.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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)); } -- 2.11.0