projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
enable mpm_prefork, deb 9+
[freeside.git]
/
FS
/
FS
/
ClientAPI.pm
diff --git
a/FS/FS/ClientAPI.pm
b/FS/FS/ClientAPI.pm
index
c36fd55
..
4ba03f4
100644
(file)
--- a/
FS/FS/ClientAPI.pm
+++ b/
FS/FS/ClientAPI.pm
@@
-3,7
+3,6
@@
package FS::ClientAPI;
use strict;
use base 'Exporter';
use vars qw( @EXPORT_OK %handler $domain $DEBUG $me );
use strict;
use base 'Exporter';
use vars qw( @EXPORT_OK %handler $domain $DEBUG $me );
-use FS::UID qw( dbh );
@EXPORT_OK = qw( load_clientapi_modules );
@EXPORT_OK = qw( load_clientapi_modules );
@@
-12,6
+11,14
@@
$me = '[FS::ClientAPI]';
%handler = ();
%handler = ();
+=head1 NAME
+
+FS::ClientAPI
+
+=item load_clientapi_modules
+
+=cut
+
sub load_clientapi_modules {
#find modules
sub load_clientapi_modules {
#find modules
@@
-32,21
+39,17
@@
sub load_clientapi_modules {
}
}
+=item dispatch [ name ]
+
+=cut
+
sub dispatch {
my ( $self, $name ) = ( shift, shift );
$name =~ s(/)(::)g;
my $sub = "FS::ClientAPI::$name";
sub dispatch {
my ( $self, $name ) = ( shift, shift );
$name =~ s(/)(::)g;
my $sub = "FS::ClientAPI::$name";
-
- dbh->{'private_profile'} = {};
-
warn "$me dispatch: calling $sub with args @_\n" if $DEBUG;
no strict 'refs';
warn "$me dispatch: calling $sub with args @_\n" if $DEBUG;
no strict 'refs';
- my $rv = &{$sub}(@_);
-
- warn dbh->sprintProfile if dbh->can('sprintProfile');
- dbh->{'private_profile'} = {};
-
- $rv;
+ &{$sub}(@_);
}
1;
}
1;