mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
api resource refactoring part 3
This commit is contained in:
@@ -116,21 +116,6 @@ class Folder extends Model
|
||||
return $folders + $files;
|
||||
}
|
||||
|
||||
/**
|
||||
* Format deleted at date reformat
|
||||
*/
|
||||
public function getDeletedAtAttribute(): string | null
|
||||
{
|
||||
if (! $this->attributes['deleted_at']) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return format_date(
|
||||
set_time_by_user_timezone($this->attributes['deleted_at']),
|
||||
__t('time')
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get parent
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user