summaryrefslogtreecommitdiff
path: root/js/functions.js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-28 17:26:45 +0200
committerAlib <aliboba@free.fr>2010-03-28 17:26:45 +0200
commit351c11de891427d7df23942245f96d3588bd3647 (patch)
tree95eb1d629b14adb07383bf071e13026b8522960c /js/functions.js
parent4ccc452b74a3065a1e1ebb1b16fa1812398fa244 (diff)
downloadistreamdev-351c11de891427d7df23942245f96d3588bd3647.tar.gz
istreamdev-351c11de891427d7df23942245f96d3588bd3647.tar.bz2
fix date
Diffstat (limited to 'js/functions.js')
-rw-r--r--js/functions.js15
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;
-}