summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-11-21 17:47:40 -0500
committerSolomon Peachy <pizza@shaftnet.org>2020-11-21 17:47:40 -0500
commitf4d5f3ebf9148806fee1746667dbd6d12efd32f4 (patch)
treecb0d0c05496d5c21287ccb6bd6e94688db3122b9
parentfaa56c1cbc45c108ca0c156b7ff6ba5f4c774691 (diff)
downloadpo-f4d5f3ebf9148806fee1746667dbd6d12efd32f4.tar.gz
po-f4d5f3ebf9148806fee1746667dbd6d12efd32f4.tar.bz2
po-f4d5f3ebf9148806fee1746667dbd6d12efd32f4.zip
More magic quotes purging
-rw-r--r--src/include/site.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/include/site.php b/src/include/site.php
index 427a313..2276d67 100644
--- a/src/include/site.php
+++ b/src/include/site.php
@@ -32,17 +32,6 @@ function po_dbconnect() {
return $database;
}
-function fix_magic_quotes( &$arr ) {
- foreach( $arr as $key => $val ) {
- if( is_array( $val ) ) {
- $this->fix_magic_quotes( $arr[$key] );
- } else {
- $arr[$key] = stripslashes( $val );
- }
- }
- return $arr;
-}
-
function site_prolog($min_type = PO_USER_TYPE_DISABLED) {
global $po_user;
global $po_options;