more consistency for 'old' and 'new' terminology

This commit is contained in:
Shish
2024-01-09 15:27:02 +00:00
parent cafef06b14
commit edb8ec33fa
10 changed files with 77 additions and 92 deletions

View File

@@ -95,7 +95,7 @@ class S3 extends Extension
public function onTagSet(TagSetEvent $event)
{
$this->sync_post($event->image, $event->tags);
$this->sync_post($event->image, $event->new_tags);
}
public function onImageDeletion(ImageDeletionEvent $event)
@@ -105,7 +105,7 @@ class S3 extends Extension
public function onImageReplace(ImageReplaceEvent $event)
{
$this->remove_file($event->original_hash);
$this->remove_file($event->old_hash);
$this->sync_post($event->image);
}