Add user filter/condition for notifications

This commit is contained in:
Frederic Guillot
2015-06-07 20:06:31 -04:00
parent 9d9e3afba2
commit 4f32352fe6
15 changed files with 582 additions and 249 deletions

View File

@@ -105,9 +105,11 @@ class User extends Base
if ($valid) {
if ($this->user->create($values)) {
$user_id = $this->user->create($values);
if ($user_id !== false) {
$this->session->flash(t('User created successfully.'));
$this->response->redirect('?controller=user');
$this->response->redirect($this->helper->url->to('user', 'show', array('user_id' => $user_id)));
}
else {
$this->session->flashError(t('Unable to create your user.'));