appdb/ admin/editAppVersion.php include/downlo ...

WineHQ wineowner at wine.codeweavers.com
Mon Jan 15 22:25:56 CST 2007


ChangeSet ID:	30879
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/01/15 22:25:56

Modified files:
	admin          : editAppVersion.php 
	include        : downloadurl.php 

Log message:
	Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
	Rename downloadurl::editor to OutputEditor for better conformance with other classes

Patch: http://cvs.winehq.org/patch.py?id=30879

Old revision  New revision  Changes     Path
 1.44          1.45          +1 -1       appdb/admin/editAppVersion.php
 1.5           1.6           +1 -1       appdb/include/downloadurl.php

Index: appdb/admin/editAppVersion.php
diff -u -p appdb/admin/editAppVersion.php:1.44 appdb/admin/editAppVersion.php:1.45
--- appdb/admin/editAppVersion.php:1.44	16 Jan 2007  4:25:56 -0000
+++ appdb/admin/editAppVersion.php	16 Jan 2007  4:25:56 -0000
@@ -87,7 +87,7 @@ if(!empty($aClean['sSubmit']))
     echo "</form>";
 
     /* Download URL editor */
-    echo downloadurl::editor($oVersion, "editAppVersion.php");
+    echo downloadurl::OutputEditor($oVersion, "editAppVersion.php");
 
     /* only admins can move versions */
     if($_SESSION['current']->hasPriv("admin"))
Index: appdb/include/downloadurl.php
diff -u -p appdb/include/downloadurl.php:1.5 appdb/include/downloadurl.php:1.6
--- appdb/include/downloadurl.php:1.5	16 Jan 2007  4:25:56 -0000
+++ appdb/include/downloadurl.php	16 Jan 2007  4:25:56 -0000
@@ -57,7 +57,7 @@ class downloadurl
     }
 
     /* Output an editor for Download URL fields */
-    function editor($oVersion, $sFormAction)
+    function OutputEditor($oVersion, $sFormAction)
     {
         /* Check for correct permissions */
         if(!downloadurl::canEdit($oVersion->iVersionId))



More information about the wine-cvs mailing list