fix backwards-compatibility for signup server
authorivan <ivan>
Fri, 19 Sep 2003 12:19:23 +0000 (12:19 +0000)
committerivan <ivan>
Fri, 19 Sep 2003 12:19:23 +0000 (12:19 +0000)
fs_signup/FS-SignupClient/SignupClient.pm

index e17c461..1d91a41 100644 (file)
@@ -7,7 +7,7 @@ use Exporter;
 #use FileHandle;
 #use IO::Handle;
 #use Storable qw(nstore_fd fd_retrieve);
 #use FileHandle;
 #use IO::Handle;
 #use Storable qw(nstore_fd fd_retrieve);
-use FS::SelfService qw( new_customer ); #qw( signup_info );
+use FS::SelfService; # qw( new_customer signup_info );
 
 $VERSION = '0.04';
 
 
 $VERSION = '0.04';
 
@@ -138,6 +138,14 @@ a paramater with the following keys:
 
 Returns a scalar error message, or the empty string for success.
 
 
 Returns a scalar error message, or the empty string for success.
 
+=cut
+
+#compatibility bit
+sub new_customer { 
+  my $hash = FS::SelfService::new_customer(@_);
+  $hash->{'error'};
+}
+
 =back
 
 =head1 BUGS
 =back
 
 =head1 BUGS