[freeside-commits] freeside/FS/FS/part_export prizm.pm, 1.3.2.2, 1.3.2.3
Jeff Finucane,420,,
jeff at wavetail.420.am
Tue Nov 27 11:34:40 PST 2007
Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory wavetail:/tmp/cvs-serv3221
Modified Files:
Tag: FREESIDE_1_7_BRANCH
prizm.pm
Log Message:
slop correction
Index: prizm.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/prizm.pm,v
retrieving revision 1.3.2.2
retrieving revision 1.3.2.3
diff -u -d -r1.3.2.2 -r1.3.2.3
--- prizm.pm 27 Nov 2007 03:02:35 -0000 1.3.2.2
+++ prizm.pm 27 Nov 2007 19:34:38 -0000 1.3.2.3
@@ -147,7 +147,7 @@
sprintf("%032X", $svc->authkey),
$svc->cust_svc->cust_pkg->part_pkg->pkg,
$svc->vlan_profile,
- $self->option('ems') == 1,
+ ($self->option('ems') ? 1 : 0 ),
);
return $err_or_som
unless ref($err_or_som);
@@ -201,7 +201,7 @@
'activateNetworkElements',
[ $element ],
1,
- $self->option('ems') == 1,
+ ( $self->option('ems') ? 1 : 0 ),
);
return $err_or_som
@@ -314,13 +314,13 @@
sub _export_suspend {
my( $self, $svc ) = ( shift, shift );
- my $ems = $self->option('ems') == 1;
+ my $ems = $self->option('ems') ? 1 : 0;
$self->queue_statuschange('suspendNetworkElements', [], $svc, 1, $ems);
}
sub _export_unsuspend {
my( $self, $svc ) = ( shift, shift );
- my $ems = $self->option('ems') == 1;
+ my $ems = $self->option('ems') ? 1 : 0;
$self->queue_statuschange('activateNetworkElements', [], $svc, 1, $ems);
}
More information about the freeside-commits
mailing list