commit a5ebb28029d79fe3cfce5f69e646e6c6ed8d0dc5
Author: root <root@localhost.localdomain>
Date:   Tue Mar 1 22:31:58 2016 -0500

    ユーザー登録の修正

diff --git a/app/Controller/UsersController.php b/app/Controller/UsersController.php
index ccbb42e..591b5f5 100755
--- a/app/Controller/UsersController.php
+++ b/app/Controller/UsersController.php
@@ -62,28 +62,6 @@ class UsersController extends AppController {
 			}else{
 			}
 		}
-
-	   //  if (!empty( $this->data)){
-	   //      //  保存
-	   //      if( $this->User->set( $this->data)){
-	   //      // if( $this->User->save( $this->data)){
-	   //          // ユーザアクティベート(本登録)用URLの作成
-	   //          $url = 
-	   //              DS . strtolower($this->name) .          // コントローラ
-	   //              DS . 'activate' .                       // アクション
-	   //              DS . $this->User->id .                  // ユーザID
-	   //              DS . $this->User->getActivationHash();  // ハッシュ値
-	   //          $url = Router::url( $url, true);  // ドメイン(+サブディレクトリ)を付与
-	   //          //  メール送信
-	   //          //  return
-				// $this->redirect(array('action' => 'confirm'));
-				// $this->Session->write('register',$this->request->data);
-	   //          $this->Session->setFlash( '仮登録成功。メール送信しました。');
-	   //      } else {
-	   //          //  バリデーションエラーメッセージを渡す
-	   //          $this->Session->setFlash( '入力エラー');
-	   //      }
-	   //  }
 	}
 	
 /**
@@ -107,8 +85,8 @@ class UsersController extends AppController {
 	   if( $this->User->save($this->Session->read('register'))){
 	            //  メール送信
 		$this->set('register',$this->Session->read('register'));
-		$name = $this->Session->read('register.user.login_id');
-		$mail = $this->Session->read('register.user.email');
+		$name = $this->Session->read('register.User.login_id');
+		$mail = $this->Session->read('register.User.email');
         // ユーザアクティベート(本登録)用URLの作成
         $url = 
             DS . 'users' .          // コントローラ
@@ -127,14 +105,6 @@ class UsersController extends AppController {
 		$Email->to('hasegawa@i-hearts.jp');
 		$Email->subject('[PICT CODE]問い合わせ');
 		$Email->send();
-
-	            //  return
-				// $this->redirect(array('action' => 'confirm'));
-	            // $this->Session->setFlash( '仮登録成功。メール送信しました。');
-	    //     } else {
-	    //         //  バリデーションエラーメッセージを渡す
-	    //         $this->Session->setFlash( '入力エラー');
-	    //     }
 	    }
 
 	}	
