mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-04 22:20:57 -04:00
More patches as part of #1225. Change the 'core' modules to use the json::reply
method to set the content type header and encode the response as a json object
This commit is contained in:
committed by
Bharat Mediratta
parent
89d18c0714
commit
91a2c04a24
@@ -91,7 +91,7 @@ class L10n_Client_Controller extends Controller {
|
||||
|
||||
Gallery_I18n::clear_cache($locale);
|
||||
|
||||
print json_encode(new stdClass());
|
||||
json::reply(new stdClass());
|
||||
}
|
||||
|
||||
public function toggle_l10n_mode() {
|
||||
|
||||
Reference in New Issue
Block a user