diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2012-11-27 11:17:37 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2012-11-27 11:17:37 +0100 |
commit | 10da75f3645ff2121bbaf9d603f2e1465eddab78 (patch) | |
tree | 86bea83370406d7640844aaa47123da1c4061719 /program/include/rcmail.php | |
parent | 0c82e95c59ab7a5823c69fcbc4f1b2745b7b86f9 (diff) |
Move shortcut functions to framework class
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r-- | program/include/rcmail.php | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index cdafc5e7b..3a8c62cec 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -2029,30 +2029,6 @@ class rcmail extends rcube /** - * Quote a given string. - * Shortcut function for rcube_utils::rep_specialchars_output() - * - * @return string HTML-quoted string - */ - public static function Q($str, $mode = 'strict', $newlines = true) - { - return rcube_utils::rep_specialchars_output($str, 'html', $mode, $newlines); - } - - - /** - * Quote a given string for javascript output. - * Shortcut function for rcube_utils::rep_specialchars_output() - * - * @return string JS-quoted string - */ - public static function JQ($str) - { - return rcube_utils::rep_specialchars_output($str, 'js'); - } - - - /** * Returns real size (calculated) of the message part * * @param rcube_message_part Message part |