Skip to content

Commit

Permalink
Remove CWD_*_PATH dropped variables from ui
Browse files Browse the repository at this point in the history
  • Loading branch information
super7ramp authored and ancorgs committed Aug 19, 2015
1 parent 828ac98 commit 62a0092
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
14 changes: 0 additions & 14 deletions src/include/security/dialogs.rb
Expand Up @@ -207,14 +207,6 @@ def OverviewText(type)
""
) == "no"
},
{
"id" => "CWD_IN_ROOT_PATH",
"is_secure" => Ops.get(Security.Settings, "CWD_IN_ROOT_PATH", "") == "no"
},
{
"id" => "CWD_IN_USER_PATH",
"is_secure" => Ops.get(Security.Settings, "CWD_IN_USER_PATH", "") == "no"
},
{
"id" => "SYSTOHC",
"is_secure" => Ops.get(Security.Settings, "SYSTOHC", "") == "yes"
Expand Down Expand Up @@ -738,10 +730,6 @@ def MiscDialog
VSpacing(1.0),
settings2widget("RUN_UPDATEDB_AS"),
VSpacing(1.0),
settings2widget("CWD_IN_ROOT_PATH"),
VSeparator(),
settings2widget("CWD_IN_USER_PATH"),
VSpacing(1.0),
settings2widget("kernel.sysrq"),
VSpacing(1.8)
)
Expand Down Expand Up @@ -801,8 +789,6 @@ def MiscDialog

if ret == :next || Builtins.contains(@tree_dialogs, ret)
widget2settings("PERMISSION_SECURITY")
widget2settings("CWD_IN_ROOT_PATH")
widget2settings("CWD_IN_USER_PATH")
widget2settings("RUN_UPDATEDB_AS")
widget2settings("kernel.sysrq")
end
Expand Down
14 changes: 0 additions & 14 deletions src/include/security/widgets.rb
Expand Up @@ -110,20 +110,6 @@ def initialize_security_widgets(include_target)
],
"Value" => "reboot"
},
"CWD_IN_ROOT_PATH" => {
"Widget" => "CheckBox",
# CheckBox label
"Label" => _("&Current Directory in root's Path"),
"Value" => "yes"
},
"CWD_IN_USER_PATH" => {
"Widget" => "CheckBox",
# CheckBox label
"Label" => _(
"Curr&ent Directory in Path of Regular Users"
),
"Value" => "yes"
},
"DISPLAYMANAGER_REMOTE_ACCESS" => {
"Widget" => "CheckBox",
# CheckBox label
Expand Down

0 comments on commit 62a0092

Please sign in to comment.