From 9f4caaddea85c7a05d1e645c26a9989dc5037771 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 1 Jun 2017 20:44:26 +0100 Subject: [PATCH] remove some unused variables --- ext/view/theme.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/view/theme.php b/ext/view/theme.php index 64bd1a57..17b96694 100644 --- a/ext/view/theme.php +++ b/ext/view/theme.php @@ -30,11 +30,9 @@ class ViewImageTheme extends Themelet { protected function build_pin(Image $image) { if(isset($_GET['search'])) { - $search_terms = explode(' ', $_GET['search']); $query = "search=".url_escape($_GET['search']); } else { - $search_terms = array(); $query = null; }