From b8cfcda4b5185fd692eaf140d969b7721f7d7f7b Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Fri, 28 Oct 2005 00:32:20 +0000 Subject: [PATCH] Remove GetDefaultVersionDescription() now that we don't include testing results in the version description anymore. Remove one final call to it that isn't really necessary --- admin/editAppVersion.php | 4 ---- include/version.php | 26 -------------------------- 2 files changed, 30 deletions(-) diff --git a/admin/editAppVersion.php b/admin/editAppVersion.php index 48b3c9b..0a43b8b 100644 --- a/admin/editAppVersion.php +++ b/admin/editAppVersion.php @@ -28,10 +28,6 @@ if(isset($_REQUEST['submit'])) $oVersion = new Version($_REQUEST['versionId']); - /* if the sDescription is empty, put the default in */ - if(trim(strip_tags($oVersion->sDescription))=="") - $oVersion->sDescription = GetDefaultVersionDescription(); - apidb_header("Edit Application Version"); echo "
\n"; diff --git a/include/version.php b/include/version.php index 5bca2ee..3c063d1 100644 --- a/include/version.php +++ b/include/version.php @@ -597,32 +597,6 @@ class Version { } } -function GetDefaultVersionDescription() -{ - return "

This is a template; enter version-specific description here

-

- Wine compatibility
- What works:
- - settings
- - help
-
What doesn't work:
- - erasing
-
What was not tested:
- - burning
-

-

Tested versions
- - - - - - - - - -
App. versionWine versionInstalls?Runs?Rating
3.2320050111yesyesGold
3.2320041201yesyesSilver
3.2120040615yesyesBronze


"; -} - function showVersionList($hResult) { //show applist