ezsystems/ezpublish — pull request #436 by jeromegamez (2012-09-15 17:53:47+00:00)
Title: ezcache.php -> purge: Always remove file from table ezimagefile, even if not available on file system

When purging image aliases through on of the following commands

$ php bin/php/ezcache.php --clear-tag=image --purge
$ php bin/php/ezcache.php --clear-id=imagealias --purge
$ php bin/php/ezcache.php --clear-all --purge

, the image aliases get not removed from the table `ezimagefile` when a file path is not available on the file system.

This patch ensures that a filepath is always removed from the `ezimagefile` table when purging image aliases.