Permalink
Browse files

removed duplicate declaration of "hotpot_stripslashes" function

  • Loading branch information...
1 parent 75bbcfb commit f0bcc27f905b8c5e6a887af73d47d32598809465 gbateson committed Oct 2, 2007
Showing with 0 additions and 5 deletions.
  1. +0 −5 mod/hotpot/lib.php
View
@@ -1824,11 +1824,6 @@ function hotpot_convert_navbutton_url($baseurl, $reference, $url, $course, $stri
return $url;
}
-function hotpot_stripslashes($str) {
- static $escapedchars = array('\\\\', '\\"', "\\'");
- static $unescapedchars = array('\\', '"', "'");
- return str_replace($escapedchars, $unescapedchars, $str);
-}
function hotpot_convert_relative_url($baseurl, $reference, $opentag, $url, $closetag, $stripslashes=true) {
if ($stripslashes) {
$opentag = hotpot_stripslashes($opentag);

0 comments on commit f0bcc27

Please sign in to comment.