summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions-run.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-11-15 21:44:16 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-11-15 21:44:16 -0500
commit17d084517f7bd348fbafb1cadad22bdcfaf25a50 (patch)
tree50fdc5e52d3eef3b7f0364c1c9081a0ad2551c40 /pts-core/functions/pts-functions-run.php
parent75001e6676bf314deec682e8f0512ee6218a3251 (diff)
downloadphoronix-test-suite-upstream-17d084517f7bd348fbafb1cadad22bdcfaf25a50.tar.gz
phoronix-test-suite-upstream-17d084517f7bd348fbafb1cadad22bdcfaf25a50.tar.xz
phoronix-test-suite-upstream-17d084517f7bd348fbafb1cadad22bdcfaf25a50.zip
pts-core: Drop ArgumentName profile tag code that's been deprecated
since PTS 1.4+ in favor of ArgumentPrefix
Diffstat (limited to 'pts-core/functions/pts-functions-run.php')
-rw-r--r--pts-core/functions/pts-functions-run.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/pts-core/functions/pts-functions-run.php b/pts-core/functions/pts-functions-run.php
index 65b12d8..dcf360b 100644
--- a/pts-core/functions/pts-functions-run.php
+++ b/pts-core/functions/pts-functions-run.php
@@ -775,7 +775,6 @@ function pts_test_options($identifier)
{
$xml_parser = new pts_test_tandem_XmlReader(pts_location_test($identifier));
$settings_name = $xml_parser->getXMLArrayValues(P_TEST_OPTIONS_DISPLAYNAME);
- $settings_argument = $xml_parser->getXMLArrayValues(P_TEST_OPTIONS_ARGUMENTNAME); // TODO: Use of ArgumentName has been deprecated in PTS 1.4+
$settings_argument_prefix = $xml_parser->getXMLArrayValues(P_TEST_OPTIONS_ARGPREFIX);
$settings_argument_postfix = $xml_parser->getXMLArrayValues(P_TEST_OPTIONS_ARGPOSTFIX);
$settings_identifier = $xml_parser->getXMLArrayValues(P_TEST_OPTIONS_IDENTIFIER);
@@ -793,11 +792,6 @@ function pts_test_options($identifier)
$user_option = new pts_test_option($settings_identifier[$option_count], $settings_name[$option_count]);
$prefix = $settings_argument_prefix[$option_count];
- if(empty($prefix)) // Backwards compatibility
- {
- $prefix = $settings_argument[$option_count]; // Drop this when ArgumentName has been removed from PTS entirely
- }
-
$user_option->set_option_prefix($prefix);
$user_option->set_option_postfix($settings_argument_postfix[$option_count]);