summaryrefslogtreecommitdiffstats
path: root/samba_wizard
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-01-03 17:21:06 +0000
committerOlivier Blin <oblin@mandriva.org>2006-01-03 17:21:06 +0000
commit039043dce270c730cd0880b30f18fd0665a8d5f9 (patch)
tree7fbc4332363731a88404cd2d9baacd721afdd548 /samba_wizard
parent9518e6f02ba555d798877604c8f50daf44486f45 (diff)
downloaddrakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.tar
drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.tar.gz
drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.tar.bz2
drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.tar.xz
drakwizard-039043dce270c730cd0880b30f18fd0665a8d5f9.zip
bless directly the wizard object instead of wrapping it in a hash
Diffstat (limited to 'samba_wizard')
-rwxr-xr-xsamba_wizard/Samba.pm4
-rwxr-xr-xsamba_wizard/Sambaprint.pm4
-rwxr-xr-xsamba_wizard/Sambashare.pm4
3 files changed, 3 insertions, 9 deletions
diff --git a/samba_wizard/Samba.pm b/samba_wizard/Samba.pm
index c827324f..85a84fda 100755
--- a/samba_wizard/Samba.pm
+++ b/samba_wizard/Samba.pm
@@ -364,9 +364,7 @@ $o->{pages} = {
sub new {
my ($class, $conf) = @_;
- bless {
- o => $o,
- }, $class;
+ bless $o, $class;
}
sub check() {
diff --git a/samba_wizard/Sambaprint.pm b/samba_wizard/Sambaprint.pm
index abe214ad..01f8622a 100755
--- a/samba_wizard/Sambaprint.pm
+++ b/samba_wizard/Sambaprint.pm
@@ -160,9 +160,7 @@ $o->{pages} = {
sub new {
my ($class, $conf) = @_;
- bless {
- o => $o,
- }, $class;
+ bless $o, $class;
}
sub check() {
diff --git a/samba_wizard/Sambashare.pm b/samba_wizard/Sambashare.pm
index 9430ef44..54345fde 100755
--- a/samba_wizard/Sambashare.pm
+++ b/samba_wizard/Sambashare.pm
@@ -691,9 +691,7 @@ $o->{pages} = {
sub new {
my ($class, $conf) = @_;
- bless {
- o => $o,
- }, $class;
+ bless $o, $class;
}
sub check() {