BUGFIX: Director::redirect is deprecated, use Controller.

This commit is contained in:
Mateusz Uzdowski 2012-06-05 15:08:09 +12:00
parent d08543f705
commit 2b26d544f9

View File

@ -792,7 +792,7 @@ JS
$referrer = (isset($data['Referrer'])) ? '?referrer=' . urlencode($data['Referrer']) : "";
return Director::redirect($this->Link() . 'finished' . $referrer);
return $this->redirect($this->Link() . 'finished' . $referrer);
}
/**
@ -907,4 +907,4 @@ class UserDefinedForm_SubmittedFormEmail extends Email {
public function __construct() {
parent::__construct();
}
}
}