forked from Cavemanon/cavepaintings
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:
@@ -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") {
|
||||
|
Reference in New Issue
Block a user