mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-07 13:08:42 +00:00
Fix invalid member in mapper
This commit is contained in:
parent
e390325071
commit
51552f75d6
|
|
@ -98,23 +98,6 @@ class Media
|
|||
*/
|
||||
protected $description = '';
|
||||
|
||||
/**
|
||||
* Permissions.
|
||||
*
|
||||
* @var array
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $permissions = [
|
||||
'r' => ['groups' => [],
|
||||
'users' => [],],
|
||||
'w' => ['groups' => [],
|
||||
'users' => [],],
|
||||
'p' => ['groups' => [],
|
||||
'users' => [],],
|
||||
'd' => ['groups' => [],
|
||||
'users' => [],],
|
||||
];
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ class MediaMapper extends DataMapperAbstract
|
|||
'media_versioned' => ['name' => 'media_versioned', 'type' => 'bool', 'internal' => 'versioned'],
|
||||
'media_file' => ['name' => 'media_file', 'type' => 'string', 'internal' => 'path'],
|
||||
'media_extension' => ['name' => 'media_extension', 'type' => 'string', 'internal' => 'extension'],
|
||||
'media_collection' => ['name' => 'media_collection', 'type' => 'bool', 'internal' => 'collection'],
|
||||
'media_description' => ['name' => 'media_description', 'type' => 'string', 'internal' => 'description'],
|
||||
'media_size' => ['name' => 'media_size', 'type' => 'int', 'internal' => 'size'],
|
||||
'media_created_by' => ['name' => 'media_created_by', 'type' => 'int', 'internal' => 'createdBy'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user