@@ -151,8 +151,6 @@ function os2web_cp_service_alter_configuration($key, $value) {
151
151
* TRUE on successful content creation.
152
152
*/
153
153
function os2web_cp_service_create_case(array $data) {
154
-
155
- watchdog('os2web_cp_service', 'CP case start: %time', array('%time' => timer_read('cp')), WATCHDOG_NOTICE);
156
154
// Prepare data.
157
155
$data = array_replace_recursive(os2web_cp_service_default_case(), $data);
158
156
@@ -172,7 +170,6 @@ function os2web_cp_service_create_case(array $data) {
172
170
else {
173
171
$node = node_load(array_pop($nids));
174
172
}
175
- watchdog('os2web_cp_service', 'CP old deleted: %time', array('%time' => timer_read('cp')), WATCHDOG_NOTICE);
176
173
177
174
// See if the triggered rules on the published node, is approved
178
175
// in the vocabulary. Otherwise the node will be unpublished.
@@ -284,7 +281,6 @@ function os2web_cp_service_create_case(array $data) {
284
281
try {
285
282
node_submit($node);
286
283
node_save($node);
287
- watchdog('os2web_cp_service', 'CP case done: %time', array('%time' => timer_read('cp')), WATCHDOG_NOTICE);
288
284
return TRUE;
289
285
}
290
286
catch (Exception $e) {
@@ -406,8 +402,6 @@ function os2web_cp_service_default_case() {
406
402
* TRUE on successful content creation.
407
403
*/
408
404
function os2web_cp_service_create_document(array $data) {
409
-
410
- watchdog('os2web_cp_service', 'CP document start: %time', array('%time' => timer_read('cp')), WATCHDOG_NOTICE);
411
405
$data = array_replace_recursive(os2web_cp_service_default_document(), $data);
412
406
// Prepare data.
413
407
$query = new EntityFieldQuery();
@@ -426,7 +420,6 @@ function os2web_cp_service_create_document(array $data) {
426
420
else {
427
421
$node = node_load(array_pop($nids));
428
422
}
429
- watchdog('os2web_cp_service', 'CP old deleted: %time', array('%time' => timer_read('cp')), WATCHDOG_NOTICE);
430
423
431
424
// See if the triggered rules on the published node, is approved
432
425
// in the vocabulary. Otherwise the node will be unpublished.
@@ -525,7 +518,6 @@ function os2web_cp_service_create_document(array $data) {
525
518
}
526
519
}
527
520
}
528
- watchdog('os2web_cp_service', 'CP document done: %time', array('%time' => timer_read('cp')), WATCHDOG_NOTICE);
529
521
return TRUE;
530
522
}
531
523
0 commit comments