diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2022-10-29 23:28:38 +0300 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2022-10-29 23:28:38 +0300 |
commit | 10f00d394640df5c2806270e472be8c95a4c8fdf (patch) | |
tree | bf151ccf1f31cd3852dafbde80fc8d00763567e9 | |
parent | d3a1bcb6de400bd938d9df9b157137d6e34c4d1d (diff) |
Remove debug code again
-rw-r--r-- | program/include/rcmail_oauth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail_oauth.php b/program/include/rcmail_oauth.php index 618438388..84e7402c1 100644 --- a/program/include/rcmail_oauth.php +++ b/program/include/rcmail_oauth.php @@ -456,7 +456,7 @@ class rcmail_oauth */ protected function check_token_validity($token) { - if (1 || $token['expires'] < time() && isset($token['refresh_token']) && empty($this->last_error)) { + if ($token['expires'] < time() && isset($token['refresh_token']) && empty($this->last_error)) { return $this->refresh_access_token($token) !== false; } return false; |