mirror of
https://github.com/nextcloud/server.git
synced 2026-03-12 05:33:11 -04:00
fix(template): implement ITemplate directly
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
parent
5b98b6ea44
commit
c50c09315a
1 changed files with 3 additions and 1 deletions
|
|
@ -7,6 +7,8 @@
|
|||
*/
|
||||
namespace OCP;
|
||||
|
||||
use OCP\Template\ITemplate;
|
||||
|
||||
/*
|
||||
* We have to require the functions file because this class contains aliases to the functions
|
||||
*/
|
||||
|
|
@ -19,7 +21,7 @@ require_once __DIR__ . '/../private/Template/functions.php';
|
|||
* @since 8.0.0
|
||||
* @deprecated 32.0.0 Use \OCP\Template\ITemplateManager instead
|
||||
*/
|
||||
class Template extends \OC_Template {
|
||||
class Template extends \OC_Template implements ITemplate {
|
||||
/**
|
||||
* Make OC_Helper::imagePath available as a simple function
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue