Skip to content

Commit

Permalink
Drop SuSEfirewall2 completely
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Aug 28, 2018
1 parent cf1edad commit 3bab225
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 @@ -55,7 +55,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 "NetworkService"
Yast.import "Map"
Expand Down Expand Up @@ -1063,10 +1062,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 3bab225

Please sign in to comment.