[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 915 Revision 916
276 return $self->{problem}->add($GlobalProblem); 276 return $self->{problem}->add($GlobalProblem);
277} 277}
278 278
279sub getGlobalProblem($$$) { 279sub getGlobalProblem($$$) {
280 my ($self, $setID, $problemID) = @_; 280 my ($self, $setID, $problemID) = @_;
281 return $self->{problem}->get($problemID); 281 return $self->{problem}->get($setID, $problemID);
282} 282}
283 283
284sub putGlobalProblem($$) { 284sub putGlobalProblem($$) {
285 my ($self, $GlobalProblem) = @_; 285 my ($self, $GlobalProblem) = @_;
286 return $self->{problem}->put($GlobalProblem); 286 return $self->{problem}->put($GlobalProblem);

Legend:
Removed from v.915  
changed lines
  Added in v.916

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9