Rename downloadurl::editor to OutputEditor for better conformance with other classes
This commit is contained in:
committed by
WineHQ
parent
00b97955b3
commit
c71697dc5b
@@ -87,7 +87,7 @@ if(!empty($aClean['sSubmit']))
|
|||||||
echo "</form>";
|
echo "</form>";
|
||||||
|
|
||||||
/* Download URL editor */
|
/* Download URL editor */
|
||||||
echo downloadurl::editor($oVersion, "editAppVersion.php");
|
echo downloadurl::OutputEditor($oVersion, "editAppVersion.php");
|
||||||
|
|
||||||
/* only admins can move versions */
|
/* only admins can move versions */
|
||||||
if($_SESSION['current']->hasPriv("admin"))
|
if($_SESSION['current']->hasPriv("admin"))
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class downloadurl
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Output an editor for Download URL fields */
|
/* Output an editor for Download URL fields */
|
||||||
function editor($oVersion, $sFormAction)
|
function OutputEditor($oVersion, $sFormAction)
|
||||||
{
|
{
|
||||||
/* Check for correct permissions */
|
/* Check for correct permissions */
|
||||||
if(!downloadurl::canEdit($oVersion->iVersionId))
|
if(!downloadurl::canEdit($oVersion->iVersionId))
|
||||||
|
|||||||
Reference in New Issue
Block a user