diff options
Diffstat (limited to 'includes/actions.inc')
-rw-r--r-- | includes/actions.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/actions.inc b/includes/actions.inc index 2e70c6bda..ae5a05732 100644 --- a/includes/actions.inc +++ b/includes/actions.inc @@ -273,7 +273,7 @@ function actions_synchronize($actions_in_code = array(), $delete_orphans = FALSE else { // This is a new singleton that we don't have an aid for; assign one. db_query("INSERT INTO {actions} (aid, type, callback, parameters, description) VALUES ('%s', '%s', '%s', '%s', '%s')", $callback, $array['type'], $callback, '', $array['description']); - watchdog('actions', t("Action '%action' added.", array('%action' => filter_xss_admin($array['description'])))); + watchdog('actions', "Action '%action' added.", array('%action' => filter_xss_admin($array['description']))); } } } @@ -295,7 +295,7 @@ function actions_synchronize($actions_in_code = array(), $delete_orphans = FALSE $results = db_query("SELECT a.aid, a.description FROM {actions} a WHERE callback IN ($placeholders)", $orphaned); while ($action = db_fetch_object($results)) { actions_delete($action->aid); - watchdog('actions', t("Removed orphaned action '%action' from database.", array('%action' => filter_xss_admin($action->description)))); + watchdog('actions', "Removed orphaned action '%action' from database.", array('%action' => filter_xss_admin($action->description))); } } else { |