Client email confirmation link fixed. #231

This commit is contained in:
4Giedrius committed 2015-01-26 13:22:02 +02:00
1 parent c3b4ee976a
commit 8449ad3cb2
1 file changed
+1 -2
+1 -2
View File
@@ -71,8 +71,7 @@ class Client implements \Box\InjectionAwareInterface
public function get_client_confirmation(\Box_App $app, $hash)
{
$mod = new Box_Mod('client');
$service = $mod->getService();
$service = $this->di['mod_service']('client');
$service->approveClientEmailByHash($hash);
$app->redirect('/');
}