[freeside-commits] branch master updated. 7e67c654c102bb5d9a62229161f7e8464f36a71a

Ivan ivan at 420.am
Sat Jul 11 23:32:28 PDT 2015


The branch, master has been updated
       via  7e67c654c102bb5d9a62229161f7e8464f36a71a (commit)
      from  3a8e974a619d01e060bd68cadfd4319e5536c8d2 (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 7e67c654c102bb5d9a62229161f7e8464f36a71a
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Jul 11 23:32:26 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