Review 10.4 Merged

67311[BUGFIX] Suppress warning in SimpleFileBackend unlink()

Benjamin Franzke CR +2 V +2 Easy +1 −6 updated 01/07/21, 15:19

Commit message

Calling $cache->remove() on a simple file backend when
the file does not exist leads to a PHP warning.
Checking with file_exists() before could lead to race
conditions if some other process unlinks in between.
Solution is to simply suppress the unlink warning.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1