]> git.mjollnir.org Git - moodle.git/commit
Minor improvements to the get_record() cache. Part of MDL-7196
authorstronk7 <stronk7>
Fri, 27 Oct 2006 16:56:34 +0000 (16:56 +0000)
committerstronk7 <stronk7>
Fri, 27 Oct 2006 16:56:34 +0000 (16:56 +0000)
commit9d98635b5ef74220b5a9f01035d4892adf60651a
tree892bcf3d19ce167e2793d62a279b3e7f9145cbfd
parent72f383b18c3aa7ff8da29c907c3f6d697ab38b85
Minor improvements to the get_record() cache. Part of MDL-7196

1) Check the cache issset() before unset() it.
2) In the set_field() function, if fieldX = 'id',
   just delete such element from the cache,
   else the whole table
3) Add some more unset() operations against the cache in
   the delete_xxxx() dmllib functions.

Merged from MOODLE_17_STABLE
lib/dmllib.php