[freeside] 1.4.0pre12 export question

ivan ivan at 420.am
Mon May 13 17:27:12 PDT 2002


On Mon, May 13, 2002 at 07:53:07PM -0400, Dale Hege wrote:
> 
> Hello, I've been playing with the 1.4.0 series and downloaded pre12 the
> other day. What export functions are known to work?

cp, cyrus, infostreet, shellcommands, sqlradius and vpopmail are all
supposed to be working...

> Can't locate object method "fields" via package "useradd" at
> /usr/local/lib/perl5/site_perl/5.005/FS/part_export/shellcommands.pm line
> 24. , /usr/local/lib/perl5/site_perl/5.005/Apache/ASP.pm line 1556

Try this patch:

Index: shellcommands.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/shellcommands.pm,v
retrieving revision 1.1
diff -u -r1.1 shellcommands.pm
--- shellcommands.pm    2002/04/14 09:11:22     1.1
+++ shellcommands.pm    2002/05/14 00:24:29
@@ -9,12 +9,12 @@
 
 sub _export_insert {
   my($self) = shift;
-  $self->_export_command($self, 'useradd', @_);
+  $self->_export_command('useradd', @_);
 }
 
 sub _export_delete {
   my($self) = shift;
-  $self->_export_command($self, 'userdel', @_);
+  $self->_export_command('userdel', @_);
 }
 
 sub _export_command {

-- 
_ivan



More information about the freeside-users mailing list