From 784ce8e42e6c457876265d8cb3731b1573417db1 Mon Sep 17 00:00:00 2001 From: Jesse Donat Date: Mon, 12 Aug 2024 13:23:45 -0500 Subject: [PATCH] Remove destructor --- classlink-oauth2/php/OneClick.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/classlink-oauth2/php/OneClick.php b/classlink-oauth2/php/OneClick.php index ef9fcec..6cf3e91 100644 --- a/classlink-oauth2/php/OneClick.php +++ b/classlink-oauth2/php/OneClick.php @@ -18,15 +18,6 @@ function __construct($client_id, $client_secret) $this->clientSecret = $client_secret; } - /** - * ClassLink Oauth2 helper destructor. - */ - function __destruct() - { - unset($clientId); - unset($clientSecret); - } - /** * Get the URL for where the client can get their access code * @param string $scope The scope part of the query string in the returned URL. There are 3 scopes that can be used: