]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole/Model/Base.pm
Maypole::Application supports Maypole::HTTPD (which needs a patch).
[maypole.git] / lib / Maypole / Model / Base.pm
index 26288c29f15cd32d4d00a0dd117ba215cbc1c333..338f0e8a85449808cc5e9954a581cd5dceaa9c29 100644 (file)
@@ -4,6 +4,7 @@ use strict;
 use Maypole::Constants;
 use attributes ();
 
+# don't know why this is a global - drb
 our %remember;
 
 sub MODIFY_CODE_ATTRIBUTES 
@@ -28,6 +29,7 @@ sub process {
     $r->{template} = $method;
     my $obj = $class->fetch_objects($r);
     $r->objects([$obj]) if $obj;
+    
     $class->$method( $r, $obj, @{ $r->{args} } );
 }
 
@@ -195,7 +197,7 @@ sub is_public
     
     return 1 if $attrs{Exported};
     
-    warn "$action not exported" if Maypole->debug;
+    warn "'$action' not exported";
     
     return 0;
 }