diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-14 06:42:50 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-14 06:42:50 -0700 |
commit | 94e33c821f28601b60d51581c632ba1e10288298 (patch) | |
tree | ed847f6c9b05e48c5220b303dba033a0f3926c33 | |
parent | be635df6d98bb5bbc08302a00d29ea5a016ca37b (diff) |
Removed unnecessary contructor from the HTMLPurifier.php library class
-rw-r--r-- | modules/gallery/libraries/HtmlPurifier.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/gallery/libraries/HtmlPurifier.php b/modules/gallery/libraries/HtmlPurifier.php index f9d5353b..daa5896e 100644 --- a/modules/gallery/libraries/HtmlPurifier.php +++ b/modules/gallery/libraries/HtmlPurifier.php @@ -20,11 +20,6 @@ class HtmlPurifier_Core { private static $_instance; - public function __construct($name = NULL, $data = NULL, $type = NULL) { - parent::__construct($name, $data, $type); - $this->set_global("csrf", access::csrf_token()); - } - static function instance($config=null) { require_once(dirname(__file__) . "/HTMLPurifier/HTMLPurifier.auto.php"); if (self::$_instance == NULL) { |