8
0
Fork 0

Avoid multiple uploads of the same file in confluence

Dieser Commit ist enthalten in:
Stéphane Goetz 2016-01-25 17:49:26 +01:00
Ursprung 5d6dc9a8b1
Commit 6f43467348
2 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen

BIN
daux.phar

Binäre Datei nicht angezeigt.

Datei anzeigen

@ -21,7 +21,7 @@ class ContentPage extends \Todaymade\Daux\Format\Base\ContentPage
$filename = basename($file->getPath());
//Add the attachment for later upload
$this->attachments[] = ['filename' => $filename, 'file' => $file];
$this->attachments[$filename] = ['filename' => $filename, 'file' => $file];
return $this->createImageTag($filename, $attributes);
}