[system] / trunk / webwork-modperl / lib / WeBWorK / DB.pm Repository:
ViewVC logotype

Diff of /trunk/webwork-modperl/lib/WeBWorK/DB.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 4820 Revision 4821
1################################################################################ 1################################################################################
2# WeBWorK Online Homework Delivery System> 2# WeBWorK Online Homework Delivery System>
3# Copyright 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/ 3# Copyright 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/
4# $CVSHeader: webwork2/lib/WeBWorK/DB.pm,v 1.91 2007/03/02 21:34:12 glarose Exp $ 4# $CVSHeader: webwork2/lib/WeBWorK/DB.pm,v 1.93 2007/03/02 23:25:35 sh002i Exp $
5# 5#
6# This program is free software; you can redistribute it and/or modify it under 6# This program is free software; you can redistribute it and/or modify it under
7# the terms of either: (a) the GNU General Public License as published by the 7# the terms of either: (a) the GNU General Public License as published by the
8# Free Software Foundation; either version 2, or (at your option) any later 8# Free Software Foundation; either version 2, or (at your option) any later
9# version, or (b) the "Artistic License" which comes with this package. 9# version, or (b) the "Artistic License" which comes with this package.
189 my $driver = $layout->{driver}; 189 my $driver = $layout->{driver};
190 my $source = $layout->{source}; 190 my $source = $layout->{source};
191 my $depend = $layout->{depend}; 191 my $depend = $layout->{depend};
192 my $params = $layout->{params}; 192 my $params = $layout->{params};
193 193
194 # add a key for this table to the self hash, but don't define it yet
195 # this for loop detection
194 $self->{$table} = undef; 196 $self->{$table} = undef;
195 197
196 if ($depend) { 198 if ($depend) {
197 foreach my $dep (@$depend) { 199 foreach my $dep (@$depend) {
198 $self->init_table($dbLayout, $dep); 200 $self->init_table($dbLayout, $dep);

Legend:
Removed from v.4820  
changed lines
  Added in v.4821

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9