projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add cust_pay insert noemail flag, RT#23357, github #32
[freeside.git]
/
FS
/
FS
/
cust_pkg_reason.pm
diff --git
a/FS/FS/cust_pkg_reason.pm
b/FS/FS/cust_pkg_reason.pm
index
c29a2f9
..
d11d05e
100644
(file)
--- a/
FS/FS/cust_pkg_reason.pm
+++ b/
FS/FS/cust_pkg_reason.pm
@@
-1,9
+1,9
@@
package FS::cust_pkg_reason;
package FS::cust_pkg_reason;
+use base qw( FS::otaker_Mixin FS::Record );
use strict;
use vars qw( $ignore_empty_action );
use strict;
use vars qw( $ignore_empty_action );
-use base qw( FS::otaker_Mixin FS::Record );
-use FS::Record qw( qsearch qsearchs );
+use FS::Record qw( qsearch ); #qsearchs );
use FS::upgrade_journal;
$ignore_empty_action = 0;
use FS::upgrade_journal;
$ignore_empty_action = 0;
@@
-117,13
+117,6
@@
sub check {
Returns the reason (see L<FS::reason>) associated with this cust_pkg_reason.
Returns the reason (see L<FS::reason>) associated with this cust_pkg_reason.
-=cut
-
-sub reason {
- my $self = shift;
- qsearchs( 'reason', { 'reasonnum' => $self->reasonnum } );
-}
-
=item reasontext
Returns the text of the reason (see L<FS::reason>) associated with this
=item reasontext
Returns the text of the reason (see L<FS::reason>) associated with this