forked from VTECRM/vtenext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Smarty_setup.php
28 lines (22 loc) · 994 Bytes
/
Smarty_setup.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/*************************************
* SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. <[email protected]>
* SPDX-License-Identifier: AGPL-3.0-only
************************************/
/* crmv@110561 crmv@181170 */
/**
* This file is now deprecrated. Don't include it anymore in new developments!
*/
class vtigerCRM_SmartyBase extends VteSmarty {
function fetch($template = null, $cache_id = null, $compile_id = null, $parent = null) {
logDeprecated('The class vteCRM_Smarty has been renamed to VteSmarty, please review your code.');
return parent::fetch($template, $cache_id, $compile_id, $parent);
}
function display($template = null, $cache_id = null, $compile_id = null, $parent = null) {
logDeprecated('The class vteCRM_Smarty has been renamed to VteSmarty, please review your code.');
return parent::display($template, $cache_id, $compile_id, $parent);
}
}
if (!class_exists('vteCRM_Smarty')) {
class vtigerCRM_Smarty extends vtigerCRM_SmartyBase {}
}