summaryrefslogtreecommitdiffstats
path: root/settings/oauth.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/oauth.php')
-rw-r--r--settings/oauth.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/oauth.php b/settings/oauth.php
index f088453a26a..c6c9be515bf 100644
--- a/settings/oauth.php
+++ b/settings/oauth.php
@@ -22,7 +22,7 @@ switch($operation){
$token = $server->fetch_request_token($request);
echo $token;
} catch (OAuthException $exception) {
- OC_Log::write('OC_OAuthServer', $exception->getMessage(), OC_LOG::ERROR);
+ OC_Log::write('OC_OAuth_Server', $exception->getMessage(), OC_LOG::ERROR);
echo $exception->getMessage();
}
break;
@@ -71,7 +71,7 @@ switch($operation){
$token = $server->fetch_access_token($request);
echo $token;
} catch (OAuthException $exception) {
- OC_Log::write('OC_OAuthServer', $exception->getMessage(), OC_LOG::ERROR);
+ OC_Log::write('OC_OAuth_Server', $exception->getMessage(), OC_LOG::ERROR);
echo $exception->getMessage();
}
break;