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:
shish
2008-10-09 03:21:18 +00:00
parent 8eef694168
commit 072b22ee8f
14 changed files with 97 additions and 102 deletions

View File

@@ -96,7 +96,7 @@ class ImageIO implements Extension {
/*
* Check for an existing image
*/
$existing = $database->get_image_by_hash($image->hash);
$existing = Image::by_hash($config, $database, $image->hash);
if(!is_null($existing)) {
$handler = $config->get_string("upload_collision_handler");
if($handler == "merge") {