aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/notes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/notes.php b/mod/notes.php
index e21e4386c..84f8a7093 100644
--- a/mod/notes.php
+++ b/mod/notes.php
@@ -1,9 +1,9 @@
<?php /** @file */
function notes_init(&$a) {
+
if(! local_user())
return;
- logger('mod_notes: ' . print_r($_REQUEST,true));
$ret = array('success' => true);
if($_REQUEST['note_text'] || $_REQUEST['note_text'] == '') {
@@ -18,7 +18,7 @@ function notes_init(&$a) {
build_sync_packet();
}
- logger('notes saved.');
+ logger('notes saved.', LOGGER_DEBUG);
json_return_and_die($ret);
}