From 3a9b82ab1e9822364030615b9576786f17c9f3ad Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 19 Sep 2009 23:07:39 +0100 Subject: [PATCH] this isn't slow any more --- ext/view/theme.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ext/view/theme.php b/ext/view/theme.php index 43c4a1b6..96ba5d31 100644 --- a/ext/view/theme.php +++ b/ext/view/theme.php @@ -22,13 +22,7 @@ class ViewImageTheme extends Themelet { } - var $pin = null; - protected function build_pin(Image $image) { - if(!is_null($this->pin)) { - return $this->pin; - } - global $database; if(isset($_GET['search'])) { @@ -44,8 +38,7 @@ class ViewImageTheme extends Themelet { $h_index = "Index"; $h_next = "Next"; - $this->pin = "$h_prev | $h_index | $h_next"; - return $this->pin; + return "$h_prev | $h_index | $h_next"; } protected function build_navigation(Image $image) {