Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions interface/forms_admin/forms_admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,6 @@

foreach ( $inDir as $fname )
{
// added 8-2009 by BM - do not show the metric vitals form as option since deprecated
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great.

// also added a toggle in globals.php in case user wants the option to add this deprecated form
if (($fname == "vitalsM") && ($GLOBALS['disable_deprecated_metrics_form'])) continue;

if (stristr($fname, ".tar.gz") || stristr($fname, ".tar") || stristr($fname, ".zip") || stristr($fname, ".gz"))
$phpState = "PHP compressed";
else
Expand Down
13 changes: 3 additions & 10 deletions library/globals.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -431,16 +431,9 @@
),
'1',
xl('Applies to Vitals form')
)
,
'disable_deprecated_metrics_form' => array(
xl('Disable Old Metric Vitals Form'),
'bool', // data type
'1', // default = true
xl('This was the older metric-only Vitals form, now deprecated.')
),

'phone_country_code' => array(
) ,

'phone_country_code' => array(
xl('Telephone Country Code'),
'num',
'1', // default = North America
Expand Down