/*
- * $Id$
- *
* Handles functions related to yellow sticky notes.
*
* Copyright (c) 2007-2009 by the citadel.org team
#include "citserver.h"
#include "support.h"
#include "config.h"
-#include "room_ops.h"
#include "user_ops.h"
-#include "policy.h"
#include "database.h"
#include "msgbase.h"
if (!strcasecmp(cbtype, "text/vnote")) {
- CtdlLogPrintf(CTDL_DEBUG, "Part %s contains a vNote! Loading...\n", partnum);
+ syslog(LOG_DEBUG, "Part %s contains a vNote! Loading...\n", partnum);
if (*v != NULL) {
vnote_free(*v);
}
}
}
- CtdlLogPrintf(9, "UUID of note is: %s\n", uuid);
+ syslog(LOG_DEBUG, "UUID of note is: %s\n", uuid);
if (!IsEmptyStr(uuid)) {
if (msg->cm_fields['E'] != NULL) {
/* Set the message EUID to the vNote UID */
if (v->uid) if (!IsEmptyStr(v->uid)) {
- CtdlLogPrintf(9, "UID of vNote is: %s\n", v->uid);
+ syslog(LOG_DEBUG, "UID of vNote is: %s\n", v->uid);
if (msg->cm_fields['E'] != NULL) {
free(msg->cm_fields['E']);
}
CtdlRegisterMessageHook(serv_notes_beforesave, EVT_BEFORESAVE);
}
- /* return our Subversion id for the Log */
- return "$Id$";
+ /* return our module name for the log */
+ return "notes";
}