quiet warnings, RT#41682
authorIvan Kohler <ivan@freeside.biz>
Thu, 7 Apr 2016 02:21:38 +0000 (19:21 -0700)
committerIvan Kohler <ivan@freeside.biz>
Thu, 7 Apr 2016 02:21:38 +0000 (19:21 -0700)
FS/FS/Mason.pm

index 651cc95..9174ec3 100644 (file)
@@ -462,7 +462,7 @@ if ( -e $addl_handler_use_file ) {
     use vars qw($m);
 
     # false laziness w/below
-    if ( defined(@DBIx::Profile::ISA) ) {
+    if ( @DBIx::Profile::ISA ) {
 
       if ( $FS::CurrentUser::CurrentUser->option('show_db_profile') ) {
 
@@ -522,7 +522,7 @@ if ( -e $addl_handler_use_file ) {
     use vars qw($m);
     $m->clear_buffer;
     #false laziness w/above
-    if ( defined(@DBIx::Profile::ISA) ) {
+    if ( @DBIx::Profile::ISA ) {
 
       if ( $FS::CurrentUser::CurrentUser->option('show_db_profile') ) {