Upgrade to 4.0.0
This commit is contained in:
@@ -13,5 +13,14 @@ namespace Kirby\Cms;
|
||||
*/
|
||||
class FilePermissions extends ModelPermissions
|
||||
{
|
||||
protected $category = 'files';
|
||||
protected string $category = 'files';
|
||||
|
||||
protected function canChangeTemplate(): bool
|
||||
{
|
||||
if (count($this->model->blueprints()) <= 1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user