summaryrefslogtreecommitdiff
path: root/fs_signup
diff options
context:
space:
mode:
authorivan <ivan>2003-09-19 12:19:23 +0000
committerivan <ivan>2003-09-19 12:19:23 +0000
commitb7bd75e83a0a63015579464541dba5b995ae6ee4 (patch)
tree11c05f9dc161c11b25615deb3e852cd30b872109 /fs_signup
parentb3a9e3fb3497230b2c752fb888f1234cde90c785 (diff)
fix backwards-compatibility for signup server
Diffstat (limited to 'fs_signup')
-rw-r--r--fs_signup/FS-SignupClient/SignupClient.pm10
1 files changed, 9 insertions, 1 deletions
diff --git a/fs_signup/FS-SignupClient/SignupClient.pm b/fs_signup/FS-SignupClient/SignupClient.pm
index e17c46181..1d91a418f 100644
--- a/fs_signup/FS-SignupClient/SignupClient.pm
+++ b/fs_signup/FS-SignupClient/SignupClient.pm
@@ -7,7 +7,7 @@ use Exporter;
#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';
@@ -138,6 +138,14 @@ a paramater with the following keys:
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