From f46655501aaa6f66d9c657083209f5439485cc8c Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Thu, 16 May 2013 21:13:37 +0200 Subject: [PATCH] removed unused smarty globals for now --- public/include/smarty_globals.inc.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/public/include/smarty_globals.inc.php b/public/include/smarty_globals.inc.php index 29db7683..060aba83 100644 --- a/public/include/smarty_globals.inc.php +++ b/public/include/smarty_globals.inc.php @@ -37,15 +37,12 @@ if (!$iCurrentPoolShareRate = $memcache->get('iCurrentPoolShareRate')) { } $aGlobal = array( - 'slogan' => $settings->getValue('slogan'), - 'websitename' => $settings->getValue('websitename'), - 'ltc_usd' => $settings->getValue('btcesell'), + 'slogan' => $config['website']['slogan'], + 'websitename' => $config['website']['name'], 'hashrate' => $iCurrentPoolHashrate, 'sharerate' => $iCurrentPoolShareRate, 'workers' => $iCurrentActiveWorkers, 'roundshares' => $aRoundShares, - 'statstime' => $settings->getValue('statstime'), - 'motd' => $settings->getValue('motd'), 'confirmations' => $config['confirmations'], 'reward' => $config['reward'] );