summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/actions.inc2
-rw-r--r--modules/comment/comment.admin.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/actions.inc b/includes/actions.inc
index 8811383a0..27f7bdf27 100644
--- a/includes/actions.inc
+++ b/includes/actions.inc
@@ -41,7 +41,7 @@ function actions_do($action_ids, $object = NULL, $context = NULL, $a1 = NULL, $a
static $stack;
$stack++;
if ($stack > variable_get('actions_max_stack', 35)) {
- watchdog('actions', 'Stack overflow: too many calls to actions_do(). Aborting to prevent infinite recursion.', WATCHDOG_ERROR);
+ watchdog('actions', 'Stack overflow: too many calls to actions_do(). Aborting to prevent infinite recursion.', array(), WATCHDOG_ERROR);
return;
}
$actions = array();
diff --git a/modules/comment/comment.admin.inc b/modules/comment/comment.admin.inc
index 144804e36..5708bafb1 100644
--- a/modules/comment/comment.admin.inc
+++ b/modules/comment/comment.admin.inc
@@ -277,7 +277,7 @@ function comment_confirm_delete_submit($form, &$form_state) {
*/
function _comment_delete_thread($comment) {
if (!is_object($comment) || !is_numeric($comment->cid)) {
- watchdog('content', 'Cannot delete non-existent comment.', WATCHDOG_WARNING);
+ watchdog('content', 'Cannot delete non-existent comment.', array(), WATCHDOG_WARNING);
return;
}