Updated typo and changelog
This commit is contained in:
parent
c150b94ece
commit
c1ddf8ddc2
|
@ -10,8 +10,9 @@
|
|||
- Fixed wrong SDK method type in avatars browser route
|
||||
- Fixed bug denied public documents (*) to be accessed by guest users
|
||||
- Fixed cache control issue not allowing collection UI to update properly
|
||||
- Added missing webhooks events in the console
|
||||
- Fixed a bug where single permission tag in the console was not being saved
|
||||
- Added missing webhooks events in the console
|
||||
- Added missing option to delete project
|
||||
|
||||
# Version 0.6.1 (PRE-RELEASE)
|
||||
|
||||
|
|
|
@ -95,11 +95,11 @@ abstract class Device
|
|||
* @see http://php.net/manual/en/function.filesize.php
|
||||
*
|
||||
* @param string $path
|
||||
* @param bool $recrusive
|
||||
* @param bool $recursive
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
abstract public function delete(string $path, bool $recrusive = false):bool;
|
||||
abstract public function delete(string $path, bool $recursive = false):bool;
|
||||
|
||||
/**
|
||||
* Returns given file path its size.
|
||||
|
|
|
@ -151,13 +151,13 @@ class Local extends Device
|
|||
* @see http://php.net/manual/en/function.filesize.php
|
||||
*
|
||||
* @param string $path
|
||||
* @param bool $recrusive
|
||||
* @param bool $recursive
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function delete(string $path, bool $recrusive = false):bool
|
||||
public function delete(string $path, bool $recursive = false):bool
|
||||
{
|
||||
if(is_dir($path) && $recrusive) {
|
||||
if(is_dir($path) && $recursive) {
|
||||
$files = glob($path.'*', GLOB_MARK); // GLOB_MARK adds a slash to directories returned
|
||||
|
||||
foreach($files as $file) {
|
||||
|
|
Loading…
Reference in a new issue