renaming function in order to remove phpdoc error
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 10 May 2004 10:02:32 +0000 (10:02 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 10 May 2004 10:02:32 +0000 (10:02 +0000)
it is better to have different names for different functions even when they
don't conflict with each other.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7418 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/calendar/event_edit.php

index 9f58e5f2bfa49d5fc492fa725ecad5316ceb685c..bcf713814e1daaa6b916a6ad0b21f632137ed829 100644 (file)
@@ -103,7 +103,7 @@ elseif (isset($_GET['minute'])) {
 /* got 'em */
 
 // update event info
-function show_event_form() {
+function update_event_form() {
     global $color, $editor_size, $year, $day, $month, $hour, $minute, $calendardata;
 
     $tmparray = $calendardata["$month$day$year"]["$hour$minute"];
@@ -287,7 +287,7 @@ echo html_tag( 'tr', '', '', $color[0] ) .
 if (!isset($updated)){
     //get changes to event
     readcalendardata();
-    show_event_form();
+    update_event_form();
 } else {
     if (!isset($confirmed)){
         //confirm changes