diff options
Diffstat (limited to 'core/SmartyPlugins/modifier.money.php')
-rw-r--r-- | core/SmartyPlugins/modifier.money.php | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/core/SmartyPlugins/modifier.money.php b/core/SmartyPlugins/modifier.money.php deleted file mode 100644 index 52acffd4fd..0000000000 --- a/core/SmartyPlugins/modifier.money.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php -/** - * Piwik - Open source web analytics - * - * @link http://piwik.org - * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later - * @version $Id$ - * - * @category Piwik - * @package SmartyPlugins - */ - -/** - * Prints money, given the currency symbol. - * - * @return string The amount with the currency symbol - */ -function smarty_modifier_money($amount) -{ - if(func_num_args() != 2) - { - throw new Exception('the smarty modifier money expects one parameter: the idSite.'); - } - $idSite = func_get_args(); - $idSite = $idSite[1]; - return Piwik::getPrettyMoney($amount, $idSite); -} |