summaryrefslogtreecommitdiff
path: root/modules/rest/helpers/rest.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-12-27 08:32:12 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-12-27 08:32:12 -0800
commitbccb6fc02146fb07cd1b472a90092e78e2259e91 (patch)
tree78dcb1717e020ebc65fec8a4ba452ab1193d2a27 /modules/rest/helpers/rest.php
parent07e83718a0cd1bcef1f0a0546ffcb7cb6a1735ae (diff)
Clean up validation the check for duplicate names or slugs, finish converting the rest API to Kohana 2.4
Diffstat (limited to 'modules/rest/helpers/rest.php')
-rw-r--r--modules/rest/helpers/rest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rest/helpers/rest.php b/modules/rest/helpers/rest.php
index ad6ca7c7..276ff0c2 100644
--- a/modules/rest/helpers/rest.php
+++ b/modules/rest/helpers/rest.php
@@ -88,7 +88,7 @@ class rest_Core {
private static function _format_failure_response($message, $log_message) {
if (!empty($log_message)) {
- Kohana::log("info", $log_message);
+ Kohana_Log::add("info", $log_message);
}
// We don't need to save the session for this request
Session::abort_save();