Some more linting thanks to scrutinizer-ci

This commit is contained in:
jgen
2014-04-19 01:18:49 -04:00
parent f72bfbb050
commit bdf49b33cb
6 changed files with 15 additions and 9 deletions

View File

@ -208,6 +208,7 @@ class DanbooruApi extends Extension {
// Fire off an event which should process the new file and add it to the db
$fileinfo = pathinfo($filename);
$metadata = array();
$metadata['filename'] = $fileinfo['basename'];
$metadata['extension'] = $fileinfo['extension'];
$metadata['tags'] = $posttags;