Index: trunk/widgets/Search/Search.php
===================================================================
--- trunk/widgets/Search/Search.php	(revision 3063)
+++ trunk/widgets/Search/Search.php	(working copy)
@@ -89,24 +89,6 @@
         
         $userInput = str_replace("'", "''", $userInput);
 
-        //unescape strings
-        //
-        if(ini_get("magic_quotes_sybase") == "1")
-        {
-            $matchLabel = str_replace("''", "'", $matchLabel);
-            $filter = str_replace("''", "'", $filter);
-        }
-        else if(get_magic_quotes_gpc() == "1")
-        {
-            //Unescape single quotes
-            $filter = str_replace("\\'", "'", $filter);
-            //Unescape double quotes
-            $filter = str_replace('\\"', '"', $filter);
-
-            //remove additional backslash
-            $filter = str_replace("\\", "", $filter);
-        }
-
         //fwrite($logHandle,"filter before:".$filter."\n");
 
         //substitute the input tag with the actual user input to make up the filter
