-
Notifications
You must be signed in to change notification settings - Fork 96
Fix: Call to undefined method OC_Helper::linkTo() #1019
base: master
Are you sure you want to change the base?
Conversation
👍 |
@rullzer I dropped a PHPDoc note in your merged PR removing OC_Helper::linkTo()
a. what am I doing wrong? |
@mmattel it is a a way of documenting things. Calling So yes 1 is corerect. Because |
@rullzer did you actually review this? 🙈 |
@@ -1,4 +1,4 @@ | |||
<script type="text/javascript" src="<?php print_unescaped(OC_Helper::linkTo('calendar/js', 'l10n.php'));?>"></script> | |||
<script type="text/javascript" src="<?php print_unescaped(OC_Helper::linkTo(\OC::$server->getURLGenerator()->linkTo('calendar', '/js/l10n.php'));?>"></script> |
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.
you obviously need to remove the OC_Helper::linkTo
;)
Yes I did... and it worked... But I can't figure out why... |
ah crap... bash chokes on the my bad... |
7e06152
to
1129712
Compare
Everything is fixed now. Pls retest |
Fixes the error on 9.0 beta 1, so 👍 |
Fixes #1018 (Error: Call to undefined method OC_Helper::linkTo() )
Needed because of: owncloud/core#21253 (Remove deprecated OC_Helper::linkTo)
@DeepDiver1975 @rullzer