[freeside-commits] branch FREESIDE_4_BRANCH updated. 81d75b9e573b0f814ee279b05dadbfb79050626a
Ivan
ivan at 420.am
Sat Jul 11 23:32:29 PDT 2015
The branch, FREESIDE_4_BRANCH has been updated
via 81d75b9e573b0f814ee279b05dadbfb79050626a (commit)
from d07d45de7c768036514509bf9c0de8e1cc41b884 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 81d75b9e573b0f814ee279b05dadbfb79050626a
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sat Jul 11 23:32:28 2015 -0700
include is deprecated - improve deprecation message w/filename
diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm
index d0ac8a6..d1535b5 100644
--- a/FS/FS/Mason.pm
+++ b/FS/FS/Mason.pm
@@ -508,9 +508,8 @@ if ( -e $addl_handler_use_file ) {
};
sub include {
- use vars qw($m);
- use Carp;
- carp 'include deprecated; use an HTML::Mason <& &> style include (or $m->scomp)';
+ use vars qw($m @CARP_NOT);
+ warn 'include deprecated; use an HTML::Mason <& &> style include (or $m->scomp) at '. $m->callers(1)->path. "\n";
$m->scomp(@_);
}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Mason.pm | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
More information about the freeside-commits
mailing list