Skip to content
Snippets Groups Projects
Commit 6b2fddb5 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3456007: Change Call to deprecated function openssl_pkey_free() in PHP 8

parent c69477b7
No related branches found
No related tags found
No related merge requests found
......@@ -148,14 +148,7 @@ class OAuthKey {
}
array_push($key_pair, $key);
if (PHP_VERSION_ID < 80000) {
// phpcs:disable
openssl_pkey_free($pk);
// phpcs:enable
}
else {
unset($pk);
}
unset($pk);
return $key_pair;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment