From 039043dce270c730cd0880b30f18fd0665a8d5f9 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 3 Jan 2006 17:21:06 +0000 Subject: bless directly the wizard object instead of wrapping it in a hash --- web_wizard/Apache.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'web_wizard') diff --git a/web_wizard/Apache.pm b/web_wizard/Apache.pm index 845d8e8c..dcb68dc8 100755 --- a/web_wizard/Apache.pm +++ b/web_wizard/Apache.pm @@ -171,9 +171,7 @@ sub new { # $o->{needed_rpm} = [ 'apache-1.3' ]; # $o->{var}{servicecheck} = 'httpd'; # } - bless { - o => $o, - }, $class; + bless $o, $class; } sub chg_docroot { -- cgit v1.2.1