euromark 12 years ago
parent
commit
7cdac2c762
1 changed files with 1 additions and 1 deletions
  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;
 		}