summaryrefslogtreecommitdiff
path: root/FS/FS/svc_pbx.pm
diff options
context:
space:
mode:
authorivan <ivan>2010-01-26 06:14:35 +0000
committerivan <ivan>2010-01-26 06:14:35 +0000
commit72d25b4abaa6e8e909c12c67ce45cd4eaa7ce867 (patch)
tree0649a20799b1872838aae80494468409b5df2905 /FS/FS/svc_pbx.pm
parent906068e01e91ce86f6871cb0e546714ffed45a34 (diff)
fix label method and doc work
Diffstat (limited to 'FS/FS/svc_pbx.pm')
-rw-r--r--FS/FS/svc_pbx.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/svc_pbx.pm b/FS/FS/svc_pbx.pm
index 49509b5..4ba8e66 100644
--- a/FS/FS/svc_pbx.pm
+++ b/FS/FS/svc_pbx.pm
@@ -81,7 +81,7 @@ sub table_info {
'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 @@ Class method which returns an SQL fragment to search for the given string.
=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