[freeside-commits] freeside/FS/FS svc_pbx.pm,1.2,1.3

Ivan,,, ivan at wavetail.420.am
Mon Jan 25 22:14:37 PST 2010


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv30055/FS/FS

Modified Files:
	svc_pbx.pm 
Log Message:
fix label method and doc work

Index: svc_pbx.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_pbx.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- svc_pbx.pm	25 Jan 2010 22:17:14 -0000	1.2
+++ svc_pbx.pm	26 Jan 2010 06:14:35 -0000	1.3
@@ -81,7 +81,7 @@
     'cancel_weight'  => 90,
     'fields' => {
       'id'    => 'Thirdlane ID',
-      'title' => 'Description',
+      'title' => 'Name',
       'max_extensions' => 'Maximum number of User Extensions',
 #      'field'         => 'Description',
 #      'another_field' => { 
@@ -120,13 +120,13 @@
 
 =item label
 
-Returns a meaningful identifier for this PBX tenant.
+Returns the title field for this PBX tenant.
 
 =cut
 
 sub label {
   my $self = shift;
-  $self->label_field; #or something more complicated if necessary
+  $self->title;
 }
 
 =item insert



More information about the freeside-commits mailing list