From 1ae3ed7e3b796bae6e16e687c29f3fcf0df5fbfe Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 4 Dec 2008 06:36:14 +0000 Subject: Get rid of the rearrange helper as the code could be inlined --- core/controllers/welcome.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/controllers') diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php index 99797d2a..7730d254 100644 --- a/core/controllers/welcome.php +++ b/core/controllers/welcome.php @@ -36,7 +36,7 @@ class Welcome_Controller extends Template_Controller { $this->template->deepest_photo = ORM::factory("item") ->where("type", "photo")->orderby("level", "desc")->find(); $this->template->album_tree = $this->_load_album_tree(); - $this->template->rearrange_html = rearrange::get_html()->render(); + $this->template->rearrange_html = new View("rearrange.html"); } catch (Exception $e) { $this->template->album_count = 0; $this->template->photo_count = 0; -- cgit v1.2.3