From f718e2b0db0fe3477212a8dd6c3ec067f4432862 Mon Sep 17 00:00:00 2001 From: Klaus Weidenbach Date: Sat, 18 Mar 2017 17:50:05 +0100 Subject: :arrow_up: Update HTML Purifier library. Updated HTML Purifier from 4.6.0 to 4.9.2 with better PHP7 compatibility. Used composer to manage this library. --- library/HTMLPurifier/Queue.php | 56 ------------------------------------------ 1 file changed, 56 deletions(-) delete mode 100644 library/HTMLPurifier/Queue.php (limited to 'library/HTMLPurifier/Queue.php') diff --git a/library/HTMLPurifier/Queue.php b/library/HTMLPurifier/Queue.php deleted file mode 100644 index f58db9042..000000000 --- a/library/HTMLPurifier/Queue.php +++ /dev/null @@ -1,56 +0,0 @@ -input = $input; - $this->output = array(); - } - - /** - * Shifts an element off the front of the queue. - */ - public function shift() { - if (empty($this->output)) { - $this->output = array_reverse($this->input); - $this->input = array(); - } - if (empty($this->output)) { - return NULL; - } - return array_pop($this->output); - } - - /** - * Pushes an element onto the front of the queue. - */ - public function push($x) { - array_push($this->input, $x); - } - - /** - * Checks if it's empty. - */ - public function isEmpty() { - return empty($this->input) && empty($this->output); - } -} -- cgit v1.2.3