start svc_alarm, RT#23694
[freeside.git] / FS / FS / Mason.pm
index 5cecefd..08cce16 100644 (file)
@@ -352,6 +352,7 @@ if ( -e $addl_handler_use_file ) {
   use FS::vend_pay;
   use FS::vend_bill_pay;
   use FS::sales_pkg_class;
+  use FS::svc_alarm;
   # Sammath Naur
 
   if ( $FS::Mason::addl_handler_use ) {
@@ -422,7 +423,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') ) {
 
@@ -482,7 +483,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') ) {