diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/functions.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/js/functions.js b/js/functions.js index 9621612..f628142 100644 --- a/js/functions.js +++ b/js/functions.js @@ -120,18 +120,3 @@ function str_pad (input, pad_length, pad_string, pad_type) { return input;
}
-
-function addslashes(str) {
-str=str.replace(/\\/g,'\\\\');
-str=str.replace(/\'/g,'\\\'');
-str=str.replace(/\"/g,'\\"');
-str=str.replace(/\0/g,'\\0');
-return str;
-}
-function stripslashes(str) {
-str=str.replace(/\\'/g,'\'');
-str=str.replace(/\\"/g,'"');
-str=str.replace(/\\0/g,'\0');
-str=str.replace(/\\\\/g,'\\');
-return str;
-}
|