mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
MINOR: moving EA specific code out of the dms module into the project's my site
This commit is contained in:
parent
7a4444fd80
commit
8e03989022
@ -1,11 +0,0 @@
|
||||
<?php
|
||||
|
||||
class DocumentType extends DataObject {
|
||||
static $db = array(
|
||||
'Name' => 'Varchar(255)'
|
||||
);
|
||||
|
||||
static $has_many = array(
|
||||
'Documents' => 'EADocument'
|
||||
);
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
<?php
|
||||
class EADocument extends DMSDocument {
|
||||
|
||||
static $has_one = array(
|
||||
'DocumentType' => 'DocumentType',
|
||||
'ContentType' => 'ContentType'
|
||||
);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user