Log in
Model

ResolveNonExistedAssets

Magento\MediaGallerySynchronization\Model\ResolveNonExistedAssets

What it does

This class synchronizes the media gallery database with the actual filesystem by identifying and removing database records for media assets that no longer physically exist on disk.

Developers would use this during media synchronization processes, cleanup operations, or when resolving inconsistencies between the database and filesystem after manual file deletions or system migrations.

Public Methods

  • execute()