summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-01-26 06:14:36 +0000
committerivan <ivan>2010-01-26 06:14:36 +0000
commit3d63d42a3ca8bdc95740c951586e44f880e5dcfa (patch)
tree52bb4868fa882e34fc185adac7b1c7df5170bc62
parent3078c35044171ed4ff5dd78552d23c37e882c82b (diff)
fix label method and doc work
-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 49509b5ef..4ba8e6660 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