Skip to content

Remove deprecated URL functions for OCP\Util#8811

Merged
rullzer merged 1 commit into
masterfrom
remove_dep_util_link
Mar 14, 2018
Merged

Remove deprecated URL functions for OCP\Util#8811
rullzer merged 1 commit into
masterfrom
remove_dep_util_link

Conversation

@rullzer
Copy link
Copy Markdown
Member

@rullzer rullzer commented Mar 13, 2018

Signed-off-by: Roeland Jago Douma roeland@famdouma.nl

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer rullzer added 2. developing Work in progress technical debt 🧱 🤔🚀 labels Mar 13, 2018
@rullzer rullzer added this to the Nextcloud 14 milestone Mar 13, 2018
@rullzer rullzer added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Mar 14, 2018
Comment thread lib/public/Util.php
* @deprecated 8.1.0 Use \OC::$server->getURLGenerator()->linkToRoute($route, $parameters)
* @since 5.0.0
*/
public static function linkToRoute( $route, $parameters = array() ) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

used by those apps:

bildschirmfoto 2018-03-14 um 09 16 17

Comment thread lib/public/Util.php
* @deprecated 8.1.0 Use \OC::$server->getURLGenerator()->linkTo($app, $file, $args)
* @since 4.0.0 - parameter $args was added in 4.5.0
*/
public static function linkTo( $app, $file, $args = array() ) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Used by those apps:

bildschirmfoto 2018-03-14 um 09 16 49

Comment thread lib/public/Util.php
* @deprecated 8.1.0 Use \OC::$server->getURLGenerator()->imagePath($app, $image)
* @since 4.0.0
*/
public static function imagePath( $app, $image ) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Used by those apps:

bildschirmfoto 2018-03-14 um 09 17 14

@rullzer rullzer merged commit 2d5febd into master Mar 14, 2018
@rullzer rullzer deleted the remove_dep_util_link branch March 14, 2018 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews technical debt 🧱 🤔🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants