From: Andy Grundman Date: Fri, 12 Aug 2005 20:24:19 +0000 (+0000) Subject: Cleaned up sql_maker variable X-Git-Tag: v0.03001~36 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fdc1c3d0c6cbee36999e6ae1f8d89dc153f3c131;p=dbsrgits%2FDBIx-Class.git Cleaned up sql_maker variable --- diff --git a/lib/DBIx/Class/Storage/DBI.pm b/lib/DBIx/Class/Storage/DBI.pm index ef46e40..50561d1 100644 --- a/lib/DBIx/Class/Storage/DBI.pm +++ b/lib/DBIx/Class/Storage/DBI.pm @@ -57,8 +57,7 @@ sub dbh { sub sql_maker { my ($self) = @_; - my $maker; - unless ($maker = $self->_sql_maker) { + unless ($self->_sql_maker) { $self->_sql_maker(new SQL::Abstract::Limit( limit_dialect => $self->dbh )); } return $self->_sql_maker;