[Jifty-commit] jifty branch, master, updated. a869c8ad86fb605b87a6e63e74eccf0274c16b8e
Jifty commits
jifty-commit at lists.jifty.org
Fri Jul 23 14:51:15 EDT 2010
The branch, master has been updated
via a869c8ad86fb605b87a6e63e74eccf0274c16b8e (commit)
from c144471c4bbca7afbd6a3dfaeec7b728e61a091f (commit)
Summary of changes:
lib/Jifty/Object.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit a869c8ad86fb605b87a6e63e74eccf0274c16b8e
Author: Thomas Sibley <trs at bestpractical.com>
Date: Fri Jul 23 14:52:35 2010 -0400
A more accurate error message when calling cu as a class method
diff --git a/lib/Jifty/Object.pm b/lib/Jifty/Object.pm
index e37bdca..21be98b 100644
--- a/lib/Jifty/Object.pm
+++ b/lib/Jifty/Object.pm
@@ -34,7 +34,7 @@ C<current_user>, and so on up the call stack.
sub current_user {
my $self = shift;
unless (ref($self)) {
- Carp::cluck("Called current_user as a class method. Dealing. Fix your code.");
+ Carp::cluck("Called current_user as a class method! This has no chance of working. Fix your code.");
}
$self->{'_current_user'} = shift if (@_);
return($self->{'_current_user'});
-----------------------------------------------------------------------
More information about the Jifty-commit
mailing list