[*] FO : Removed unused local variable, phpdoc return tag added

This commit is contained in:
Stanislav Yordanov committed 2013-11-14 19:22:39 +02:00
1 parent e7e514dc77
commit c5b1834870
1 file changed
+1 -1
+1 -1
View File
@@ -252,6 +252,7 @@ class ReferrerCore extends ObjectModel
* *
* @param array $referrers * @param array $referrers
* @param int $employee * @param int $employee
* @return true
*/ */
public static function refreshCache($referrers = null, $employee = null) public static function refreshCache($referrers = null, $employee = null)
{ {
@@ -265,7 +266,6 @@ class ReferrerCore extends ObjectModel
if (!$referrer->isAssociatedToShop($shop_id)) if (!$referrer->isAssociatedToShop($shop_id))
continue; continue;
$shop = new Shop($shop_id);
$stats_visits = $referrer->getStatsVisits(null, $employee); $stats_visits = $referrer->getStatsVisits(null, $employee);
$registrations = $referrer->getRegistrations(null, $employee); $registrations = $referrer->getRegistrations(null, $employee);
$stats_sales = $referrer->getStatsSales(null, $employee); $stats_sales = $referrer->getStatsSales(null, $employee);