Thomas Hochstein 307f1c3dad Prevent renaming ML object into existing file.
When renaming objects in the Media Library,
s9y didn't check if a file with the same
name already exists, resulting in a file
name collision deleting both files from
the database _and_ from disk.

Add a check to avoid that.

An error message would be nice, too, but
that may be added later on.

Tested on s9y-stable test instance.

Cherry-picked from master branch.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2020-03-20 17:56:29 +01:00
..
2016-10-28 11:41:53 +02:00
2019-04-27 18:33:48 +02:00
2016-10-28 11:41:53 +02:00
2019-10-16 09:43:59 +02:00

README
------

For the most up-to-date information on documentation, creating styles, plugins
and so on, please visit our website on https://s9y.org