summaryrefslogtreecommitdiff
path: root/constraints.php
diff options
context:
space:
mode:
Diffstat (limited to 'constraints.php')
-rw-r--r--constraints.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/constraints.php b/constraints.php
index 99298c27..f966f48d 100644
--- a/constraints.php
+++ b/constraints.php
@@ -407,10 +407,7 @@
echo "<input type=\"hidden\" name=\"constraint\" value=\"", htmlspecialchars($_REQUEST['constraint']), "\" />\n";
echo "<input type=\"hidden\" name=\"type\" value=\"", htmlspecialchars($_REQUEST['type']), "\" />\n";
echo $misc->form;
- // Show cascade drop option if supportd
- if ($data->hasDropBehavior()) {
- echo "<p><input type=\"checkbox\" id=\"cascade\" name=\"cascade\" /> <label for=\"cascade\">{$lang['strcascade']}</label></p>\n";
- }
+ echo "<p><input type=\"checkbox\" id=\"cascade\" name=\"cascade\" /> <label for=\"cascade\">{$lang['strcascade']}</label></p>\n";
echo "<input type=\"submit\" name=\"drop\" value=\"{$lang['strdrop']}\" />\n";
echo "<input type=\"submit\" name=\"cancel\" value=\"{$lang['strcancel']}\" />\n";
echo "</form>\n";
@@ -473,8 +470,6 @@
),
);
- if (!$data->hasIsClustered()) unset($columns['clustered']);
-
$misc->printTable($constraints, $columns, $actions, $lang['strnoconstraints'], 'cnPre');
echo "<ul class=\"navlink\">\n\t<li><a href=\"constraints.php?action=add_check&amp;{$misc->href}&amp;table=", urlencode($_REQUEST['table']),