summaryrefslogtreecommitdiff
path: root/modules/rest/controllers/rest.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-12-31 13:24:00 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-12-31 13:24:00 -0800
commit40d496edeef614f7f3bc55d2fb178ea581dcd9f6 (patch)
treeea6100c8e30985848c5388bdee5798f92301bd7d /modules/rest/controllers/rest.php
parent0bb13da25ae06106358f0bb99f2a6dd104cc932f (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/rest.php')
-rw-r--r--modules/rest/controllers/rest.php1
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));
}