-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move away from private static function OC_Util::getUrlContent #15470
Conversation
looks good. What do you think @schiesbn |
Diff without whitespaces looks good: |
@nickvergessen nice, did not know about that function! |
It is just a wrapper and the other functions are deprecated already
A new inspection was created. |
Refer to this link for build results (access rights to CI server needed): |
👍 |
@@ -1234,6 +1234,7 @@ public static function generateRandomBytes($length = 30) { | |||
* @return string of the response or false on error | |||
* This function get the content of a page via curl, if curl is enabled. | |||
* If not, file_get_contents is used. | |||
* @deprecated Use \OCP\Http\Client\IClientService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already deprecated, but the message above needs an update.
Tested, works 👍 |
Move away from private static function OC_Util::getUrlContent
As described in #4774