forked from Cavemanon/cavepaintings
fix indentation
This commit is contained in:
@ -33,7 +33,7 @@ class BulkAddCSV extends Extension {
|
||||
public function onCommand(CommandEvent $event) {
|
||||
if($event->cmd == "help") {
|
||||
print " bulk-add-csv [/path/to.csv]\n";
|
||||
print " Import this .csv file (refer to documentation)\n\n";
|
||||
print " Import this .csv file (refer to documentation)\n\n";
|
||||
}
|
||||
if($event->cmd == "bulk-add-csv") {
|
||||
global $user;
|
||||
@ -62,7 +62,7 @@ class BulkAddCSV extends Extension {
|
||||
if(!array_key_exists('extension', $pathinfo)) {
|
||||
throw new UploadException("File has no extension");
|
||||
}
|
||||
$metadata = array();
|
||||
$metadata = array();
|
||||
$metadata['filename'] = $pathinfo['basename'];
|
||||
$metadata['extension'] = $pathinfo['extension'];
|
||||
$metadata['tags'] = $tags;
|
||||
|
Reference in New Issue
Block a user