Unneeded addslashes
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 3 Jun 2009 17:32:59 +0000 (11:32 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 4 Jun 2009 05:21:09 +0000 (23:21 -0600)
imp/templates/javascript_defs.php

index 93945db..7123bc5 100644 (file)
@@ -19,7 +19,7 @@ $code = array(
     ),
 
     /* Gettext strings used in core javascript files. */
-    'text' => array_map('addslashes', array(
+    'text' => array(
         /* Strings used in compose.js */
         'compose_cancel' => _("Cancelling this message will permanently discard its contents.") . "\n" . _("Are you sure you want to do this?"),
         'compose_discard' => _("Doing so will discard this message permanently."),
@@ -70,7 +70,7 @@ $code = array(
         'notspam_report' => _("Are you sure you wish to report this message as innocent?"),
         'newfolder' => _("You are copying/moving to a new folder.") . "\n" . _("Please enter a name for the new folder:") . "\n",
         'target_mbox' => _("You must select a target mailbox first."),
-    ))
+    )
 );
 
 echo IMP::wrapInlineScript(array('var IMP = ' . Horde_Serialize::serialize($code, Horde_Serialize::JSON, NLS::getCharset()) . ';'));