diff options
author | Yorhel <git@yorhel.nl> | 2013-01-05 14:16:32 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2013-01-05 14:16:32 +0100 |
commit | 78d98c54fb63570e09cbe687f8c30eb5bd0aa0f3 (patch) | |
tree | 6e111855ed09d6705182bfedb0ccdc4fb6d3febb /lib/VNDB/DB | |
parent | ba2c13150debd75c1cbf1a20950eb44ad6a30f86 (diff) |
Screenshot uploader: Load stuff synchronously + removed processing flag
All the async stuff isn't necessary now that images are processed
synchronously.
Diffstat (limited to 'lib/VNDB/DB')
-rw-r--r-- | lib/VNDB/DB/VN.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/DB/VN.pm b/lib/VNDB/DB/VN.pm index d0015d27..83054b0a 100644 --- a/lib/VNDB/DB/VN.pm +++ b/lib/VNDB/DB/VN.pm @@ -237,7 +237,7 @@ sub dbVNImageId { # insert a new screenshot and return it's ID sub dbScreenshotAdd { my($s, $width, $height) = @_; - return $s->dbRow(q|INSERT INTO screenshots (processed, width, height) VALUES (true, ?, ?) RETURNING id|, $width, $height)->{id}; + return $s->dbRow(q|INSERT INTO screenshots (width, height) VALUES (?, ?) RETURNING id|, $width, $height)->{id}; } |