Commit ee7e6d40 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(smarty) Removed unused attributes from smarty plugins

issue #5831
Showing with 4 additions and 4 deletions
+4 -4
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
function smarty_block_render($params, $text, &$smarty) function smarty_block_render($params, $text)
{ {
/* Skip closing tag </render> */ /* Skip closing tag </render> */
if (empty($text)) { if (empty($text)) {
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
function smarty_function_filePath($params, &$smarty) function smarty_function_filePath($params, Smarty_Internal_Template $smarty)
{ {
$config = session::global_get('config'); $config = session::global_get('config');
$default_theme = 'breezy'; $default_theme = 'breezy';
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
function smarty_function_iconPath($params, &$smarty) function smarty_function_iconPath($params)
{ {
$config = session::global_get('config'); $config = session::global_get('config');
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
function smarty_function_msgPool($params, &$smarty) function smarty_function_msgPool($params)
{ {
if (class_available('msgPool') && isset($params['type'])) { if (class_available('msgPool') && isset($params['type'])) {
$parameter = array(); $parameter = array();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment