Просмотр исходного кода

added got to user/%uid/edit

Signed-off-by: bachy <git@g-u-i.net>
bachy 12 лет назад
Родитель
Сommit
2b137c6a19
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      materio_user.module

+ 3 - 0
materio_user.module

@@ -234,6 +234,9 @@ function materio_user_user_update(&$edit, $account, $category){
     unset($user->logintoboggan_email_validated);
     
     user_save($user, array('roles' => $roles));
+
+    drupal_go_to('user/'.$user->uid.'/edit');
+
   }
 }