Update of /cvsroot/stack/stack-dev/opaque
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv23798/opaque
Modified Files:
Tag: item_state_separation
MoodleDisplayItem.php
Log Message:
Index: MoodleDisplayItem.php
===================================================================
RCS file: /cvsroot/stack/stack-dev/opaque/MoodleDisplayItem.php,v
retrieving revision 1.11.6.1.2.2
retrieving revision 1.11.6.1.2.3
diff -C2 -d -r1.11.6.1.2.2 -r1.11.6.1.2.3
*** MoodleDisplayItem.php 18 Nov 2010 14:21:15 -0000 1.11.6.1.2.2
--- MoodleDisplayItem.php 19 Nov 2010 18:16:19 -0000 1.11.6.1.2.3
***************
*** 263,267 ****
$state = $cache->getState($this->stateID);
! if(is_a($state, "DisplayItem")) { // retrofitting to populated caches
$item = $state;
} else {
--- 263,267 ----
$state = $cache->getState($this->stateID);
! if(is_a($state, "DisplayItem")) { // retrofitting to prior caches
$item = $state;
} else {
|