Index: branches/RL2/extensions/Gadgets/backend/LocalGadgetRepo.php |
— | — | @@ -35,6 +35,12 @@ |
36 | 36 | return 0; |
37 | 37 | } |
38 | 38 | |
| 39 | + protected function updateCache( $id, $data ) { |
| 40 | + parent::updateCache( $id, $data ); |
| 41 | + // Also purge the IDs list used by foreign repos |
| 42 | + $wgMemc->delete( wfMemcKey( 'gadgets', 'localrepoidsshared' ) ); |
| 43 | + } |
| 44 | + |
39 | 45 | protected function loadAllData() { |
40 | 46 | $query = $this->getLoadAllDataQuery(); |
41 | 47 | $dbr = $this->getDB(); |