1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 18:44:04 +00:00

Remove symlink validity check from symlinkExists() (only check for the symlink's existence)

This commit is contained in:
lukinovec 2025-02-26 16:58:19 +01:00
parent 8229e82b1a
commit 70eb2bc7d8

View file

@ -56,6 +56,6 @@ trait DealsWithTenantSymlinks
/** Determine if the provided path is an existing symlink. */ /** Determine if the provided path is an existing symlink. */
protected function symlinkExists(string $link): bool protected function symlinkExists(string $link): bool
{ {
return file_exists($link) && is_link($link); return is_link($link);
} }
} }