Hi,

we just removed following static methods in the upcoming ownCloud 9.1:

OC_Helper::previewIcon
OC_Helper::publicPreviewIcon
OC_Helper::ellipsis

They are in the private namespace anyhow, but as the OC_Helper class is one of 
the oldest code pieces we want to inform you to check this in your code.

You could use the method linkToRoute from the IURLGenerator. Simply check out 
the code that was in place for these methods, as it shows how it should be used 
nowadays.

Beside that there are also methods available in the templates that do the same:

https://github.com/owncloud/core/blob/3333c4c0b9476eb35ac6a41727b06f628c6bda2d/lib/public/template.php#L177
https://github.com/owncloud/core/blob/3333c4c0b9476eb35ac6a41727b06f628c6bda2d/lib/public/template.php#L190

The PR that removes the above mentioned private methods could be found at 
https://github.com/owncloud/core/pull/24379

Thanks
Morris

--
ownCloud GmbH - owncloud.com

Your Data, Your Cloud, Your Way!

ownCloud GmbH, GF: Markus Rex, Holger Dyroff, Frank Karlitschek
Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)


_______________________________________________
Devel mailing list
Devel@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/devel

Reply via email to