summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-08 11:38:41 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-08 11:38:41 +0000
commit033b88786ca394c613abe5b36c1313fb318b160f (patch)
tree29b5734861b60695fc5f07e5a1dcc54943a66ec8
parent3255a2638d8e75f86ebff313a485357f8e45e1c1 (diff)
downloadcontrol-center-033b88786ca394c613abe5b36c1313fb318b160f.tar
control-center-033b88786ca394c613abe5b36c1313fb318b160f.tar.gz
control-center-033b88786ca394c613abe5b36c1313fb318b160f.tar.bz2
control-center-033b88786ca394c613abe5b36c1313fb318b160f.tar.xz
control-center-033b88786ca394c613abe5b36c1313fb318b160f.zip
simplify profile deletion since we already check whether profile to
delete was current or not
-rwxr-xr-xcontrol-center1
1 files changed, 0 insertions, 1 deletions
diff --git a/control-center b/control-center
index 2cafe75c..aabb38a4 100755
--- a/control-center
+++ b/control-center
@@ -404,7 +404,6 @@ my @menu_items = (
$dialog->destroy;
Gtk2->main_quit;
network::netconnect::del_profile($profile2delete);
- $profile2delete eq $netcnx->{PROFILE} ? set_profiles("default") : update_profiles();
update_profiles(1);
}),
);