[Jifty-commit] r2811 - in wifty/trunk: lib/Wifty/Model
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Feb 21 17:31:42 EST 2007
Author: falcone
Date: Wed Feb 21 17:31:41 2007
New Revision: 2811
Modified:
wifty/trunk/ (props changed)
wifty/trunk/lib/Wifty/Model/Page.pm
Log:
r16833 at ketch: falcone | 2007-02-21 17:30:40 -0500
* move use of the RevisionCollection object before the schema
declaration so we can refers_to it
Modified: wifty/trunk/lib/Wifty/Model/Page.pm
==============================================================================
--- wifty/trunk/lib/Wifty/Model/Page.pm (original)
+++ wifty/trunk/lib/Wifty/Model/Page.pm Wed Feb 21 17:31:41 2007
@@ -6,6 +6,7 @@
use base qw/Wifty::Record/;
use Jifty::DBI::Schema;
use Wifty::Model::User;
+use Wifty::Model::RevisionCollection;
use Jifty::Record schema {
@@ -33,10 +34,6 @@
refers_to Wifty::Model::RevisionCollection by 'page';
};
-
-use Wifty::Model::RevisionCollection;
-
-
sub create {
my $self = shift;
my %args = (@_);
More information about the Jifty-commit
mailing list