]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-18486, should post client_id to server when cleaning cache"
authordongsheng <dongsheng>
Mon, 20 Apr 2009 09:08:44 +0000 (09:08 +0000)
committerdongsheng <dongsheng>
Mon, 20 Apr 2009 09:08:44 +0000 (09:08 +0000)
repository/repository.js

index 17c5908b177447599b026cc7484eec3d927e95fb..777b230d6a9ebf49616e54a8808236cc2a33a2a1 100644 (file)
@@ -745,6 +745,7 @@ repository_client.print_footer = function(client_id) {
             params['sesskey']=moodle_cfg.sesskey;
             params['ctx_id']=fp_config.contextid;
             params['repo_id']=fs.repo_id;
+            params['client_id']=client_id;
             repository_client.loading(client_id, 'load');
             var trans = YAHOO.util.Connect.asyncRequest('POST',
                     moodle_cfg.wwwroot+'/repository/ws.php?action=ccache', repository_client.req_cb, repository_client.postdata(params));