diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-12-31 13:24:00 -0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-12-31 13:24:00 -0800 |
commit | 40d496edeef614f7f3bc55d2fb178ea581dcd9f6 (patch) | |
tree | ea6100c8e30985848c5388bdee5798f92301bd7d /modules/rest/controllers | |
parent | 0bb13da25ae06106358f0bb99f2a6dd104cc932f (diff) |
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.
Diffstat (limited to 'modules/rest/controllers')
-rw-r--r-- | modules/rest/controllers/rest.php | 1 |
1 files changed, 0 insertions, 1 deletions
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)); } |