Skip to content
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

Deprecate functions (OC_Helper + OCP\Util) that only call the urlgenerator anyway #15366

Merged
merged 1 commit into from
Apr 1, 2015
Merged

Deprecate functions (OC_Helper + OCP\Util) that only call the urlgenerator anyway #15366

merged 1 commit into from
Apr 1, 2015

Conversation

rullzer
Copy link
Contributor

@rullzer rullzer commented Apr 1, 2015

Several function in OCP\Util only call functions in OC_Helper which in turn call the urlgenerator.
This PR deprecates the trivial cases so people that touch related code will get warnings to use the urlgenerator directly.

This should make this easier in the long run ;)


Note that this PR is only for the trivial cases. There are several functions (for example linkToPublic) that do not have a counter part in the urlgenerator yet. We should discus what we want to do there. But thats is something for a different PR

@rullzer rullzer added this to the 8.1-current milestone Apr 1, 2015
@rullzer
Copy link
Contributor Author

rullzer commented Apr 1, 2015

CC: @DeepDiver1975 @LukasReschke @Xenopathic

@LukasReschke
Copy link
Member

Makes sense 👍

@ghost
Copy link

ghost commented Apr 1, 2015

Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/11161/
🚀 Test PASSed.🚀
chuck

@scrutinizer-notifier
Copy link

The inspection completed: No issues found

@RobinMcCorkell
Copy link
Member

👍

RobinMcCorkell pushed a commit that referenced this pull request Apr 1, 2015
Deprecate functions (OC_Helper + OCP\Util) that only call the urlgenerator anyway
@RobinMcCorkell RobinMcCorkell merged commit 60821ee into owncloud:master Apr 1, 2015
@rullzer rullzer deleted the deprecate_util_links branch April 2, 2015 13:41
@lock lock bot locked as resolved and limited conversation to collaborators Aug 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants