euromark 12 年 前
コミット
7cdac2c762
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Model/Token.php

+ 1 - 1
Model/Token.php

@@ -59,7 +59,7 @@ class Token extends ToolsAppModel {
 	 * 2009-05-13 ms
 	 */
 	public function newKey($type, $key = null, $uid = null, $content = null) {
-		if (empty($type)) {		// || !in_array($type, $this->types)
+		if (empty($type)) {
 			return false;
 		}