From 40d496edeef614f7f3bc55d2fb178ea581dcd9f6 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 31 Dec 2009 13:24:00 -0800 Subject: Remove extra debug statement in rest_controller::access_key() and restructure the Rest_Tag_Helper_Test to only create items as required for test in each test. --- modules/rest/controllers/rest.php | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/rest/controllers/rest.php') diff --git a/modules/rest/controllers/rest.php b/modules/rest/controllers/rest.php index 05935e75..446ec7cb 100644 --- a/modules/rest/controllers/rest.php +++ b/modules/rest/controllers/rest.php @@ -41,7 +41,6 @@ class Rest_Controller extends Controller { $key->user_id = $user->id; $key->access_key = md5($user->name . rand()); $key->save(); - Kohana_Log::add("alert", Kohana::debug($key->as_array())); } print rest::success(array("token" => $key->access_key)); } -- cgit v1.2.3