1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-14 00:54:03 +02:00

Flextype Core: Entries - delete() method - fixes.

This commit is contained in:
Awilum
2019-02-18 02:13:07 +03:00
parent 40b422cbe1
commit 59bd4ade9b

View File

@@ -208,9 +208,9 @@ class Entries
* @param string $entry Entry
* @return bool True on success, false on failure.
*/
public static function delete(string $entry) : bool
public static function delete(string $entry)
{
return Filesystem::delete(PATH['entries'] . '/' . $entry);
return Filesystem::deleteDir(PATH['entries'] . '/' . $entry);
}
/**