Skip to content

Commit

Permalink
Drop SuSEfirewall2 completely
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Jan 31, 2019
1 parent dd3cb4c commit 0551f3d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 474 deletions.
5 changes: 2 additions & 3 deletions src/include/network/lan/address.rb
Expand Up @@ -54,7 +54,6 @@ def initialize_network_lan_address(include_target)
Yast.import "ProductFeatures"
Yast.import "Routing"
Yast.import "String"
Yast.import "SuSEFirewall4Network"
Yast.import "Wizard"
Yast.import "Map"

Expand Down Expand Up @@ -1047,10 +1046,10 @@ def ValidateBootproto(_key, _event)
end

# Initialize value of firewall zone widget
# (disables it when SuSEFirewall is not installed)
# (disables it when firewalld is not installed)
# @param _key [String] id of the widget
def InitFwZone(_key)
if SuSEFirewall4Network.IsInstalled
if firewalld.installed?
UI.ChangeWidget(
Id("FWZONE"),
:Value,
Expand Down
8 changes: 0 additions & 8 deletions src/include/network/widgets.rb
Expand Up @@ -248,14 +248,6 @@ def ipoib_mode_widget
}
end

def firewall_widget
if SuSEFirewall4Network.IsInstalled
SuSEFirewall4Network.FirewallZonesComboBoxItems
else
[["", _("Firewall is not installed.")]]
end
end

def common_mtu_items
[
# translators: MTU value description (size in bytes, desc)
Expand Down
360 changes: 0 additions & 360 deletions src/modules/SuSEFirewall4Network.rb

This file was deleted.

0 comments on commit 0551f3d

Please sign in to comment.