From: Tim Düsterhus Date: Tue, 28 Jun 2016 22:38:29 +0000 (+0200) Subject: Replace ->getExceptionID() by logThrowable() X-Git-Tag: 3.0.0_Beta_1~1316 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ca3579ce55e58cabc0da57649fc7e0103d4be90c;p=GitHub%2FWoltLab%2FWCF.git Replace ->getExceptionID() by logThrowable() --- diff --git a/wcfsetup/install/files/lib/action/FacebookAuthAction.class.php b/wcfsetup/install/files/lib/action/FacebookAuthAction.class.php index 675ef3f565..c05fdd5ab7 100644 --- a/wcfsetup/install/files/lib/action/FacebookAuthAction.class.php +++ b/wcfsetup/install/files/lib/action/FacebookAuthAction.class.php @@ -52,8 +52,7 @@ class FacebookAuthAction extends AbstractAction { $content = $reply['body']; } catch (SystemException $e) { - // force logging - $e->getExceptionID(); + \wcf\functions\exception\logThrowable($e); throw new IllegalLinkException(); } @@ -72,8 +71,7 @@ class FacebookAuthAction extends AbstractAction { $content = $reply['body']; } catch (SystemException $e) { - // force logging - $e->getExceptionID(); + \wcf\functions\exception\logThrowable($e); throw new IllegalLinkException(); } diff --git a/wcfsetup/install/files/lib/action/GithubAuthAction.class.php b/wcfsetup/install/files/lib/action/GithubAuthAction.class.php index 5a32ec14f7..7fb4d788de 100644 --- a/wcfsetup/install/files/lib/action/GithubAuthAction.class.php +++ b/wcfsetup/install/files/lib/action/GithubAuthAction.class.php @@ -48,8 +48,7 @@ class GithubAuthAction extends AbstractAction { $content = $reply['body']; } catch (SystemException $e) { - // force logging - $e->getExceptionID(); + \wcf\functions\exception\logThrowable($e); throw new IllegalLinkException(); } @@ -70,8 +69,7 @@ class GithubAuthAction extends AbstractAction { $userData = JSON::decode(StringUtil::trim($reply['body'])); } catch (SystemException $e) { - // force logging - $e->getExceptionID(); + \wcf\functions\exception\logThrowable($e); throw new IllegalLinkException(); } diff --git a/wcfsetup/install/files/lib/action/GoogleAuthAction.class.php b/wcfsetup/install/files/lib/action/GoogleAuthAction.class.php index 1e0b9d166e..9cdab127e3 100644 --- a/wcfsetup/install/files/lib/action/GoogleAuthAction.class.php +++ b/wcfsetup/install/files/lib/action/GoogleAuthAction.class.php @@ -53,8 +53,7 @@ class GoogleAuthAction extends AbstractAction { $content = $reply['body']; } catch (SystemException $e) { - // force logging - $e->getExceptionID(); + \wcf\functions\exception\logThrowable($e); throw new IllegalLinkException(); } @@ -74,8 +73,7 @@ class GoogleAuthAction extends AbstractAction { $content = $reply['body']; } catch (SystemException $e) { - // force logging - $e->getExceptionID(); + \wcf\functions\exception\logThrowable($e); throw new IllegalLinkException(); } diff --git a/wcfsetup/install/files/lib/action/TwitterAuthAction.class.php b/wcfsetup/install/files/lib/action/TwitterAuthAction.class.php index 66388ae5e4..d80c0b0610 100644 --- a/wcfsetup/install/files/lib/action/TwitterAuthAction.class.php +++ b/wcfsetup/install/files/lib/action/TwitterAuthAction.class.php @@ -66,8 +66,7 @@ class TwitterAuthAction extends AbstractAction { $content = $reply['body']; } catch (SystemException $e) { - // force logging - $e->getExceptionID(); + \wcf\functions\exception\logThrowable($e); throw new IllegalLinkException(); } @@ -170,8 +169,7 @@ class TwitterAuthAction extends AbstractAction { $content = $reply['body']; } catch (SystemException $e) { - // force logging - $e->getExceptionID(); + \wcf\functions\exception\logThrowable($e); throw new IllegalLinkException(); }