diff options
Diffstat (limited to 'apps/media/ajax/autoupdate.php')
-rw-r--r-- | apps/media/ajax/autoupdate.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/media/ajax/autoupdate.php b/apps/media/ajax/autoupdate.php index ac3d0650b4b..ad103d1c39b 100644 --- a/apps/media/ajax/autoupdate.php +++ b/apps/media/ajax/autoupdate.php @@ -35,5 +35,5 @@ if(defined("DEBUG") && DEBUG) {error_log((integer)$autoUpdate);} OC_Preferences::setValue(OC_User::getUser(),'media','autoupdate',(integer)$autoUpdate); -echo json_encode( array( "status" => "success", "data" => $autoUpdate)); -?>
\ No newline at end of file +OC_JSON::success(array('data' => $autoUpdate)); +?> |