Image code moved to image class
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1058 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@@ -56,7 +56,7 @@ class Index implements Extension {
|
||||
|
||||
$total_pages = $database->count_pages($search_terms);
|
||||
$count = $config->get_int('index_width') * $config->get_int('index_height');
|
||||
$images = $database->get_images(($page_number-1)*$count, $count, $search_terms);
|
||||
$images = Image::find_images($config, $database, ($page_number-1)*$count, $count, $search_terms);
|
||||
|
||||
send_event(new PostListBuildingEvent($event->page, $search_terms));
|
||||
|
||||
|
Reference in New Issue
Block a user