diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-04 06:36:14 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-04 06:36:14 +0000 |
commit | 1ae3ed7e3b796bae6e16e687c29f3fcf0df5fbfe (patch) | |
tree | d56b18e53dea44ce061594ec385cf5ae6737544b /core | |
parent | b9a0843d86a64efa92eb9827964b36896fc5af9e (diff) |
Get rid of the rearrange helper as the code could be inlined
Diffstat (limited to 'core')
-rw-r--r-- | core/controllers/welcome.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |