removed nakon related stuff

git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/legacy@78 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
pzinovkin
2009-04-26 20:15:02 +00:00
parent a833655de9
commit 75b096c6b2
2 changed files with 0 additions and 182 deletions

View File

@ -87,21 +87,5 @@ final class Env
$res = isset($_FILES[$name]) ? $_FILES[$name] : $default;
return $param ? $res[$param] : $res;
}
/**
* Получить цену ставки
*
* @param integer $dis - некое число от кооторого считается скидка
*/
static public function getBidCost($dis = 0)
{
$settings_model = new SettingsModel();
$cost = $settings_model->get('bid_base_price');
if ($dis > 0 && $dis <= 100) {
return $cost - intval($dis);
}
return $cost;
}
}
?>