Instead of overriding the table() method for each persistent class, the table
name should be included in classSettings().
This commit is contained in:
parent
96bfe07ec9
commit
2786df46ce
4 changed files with 35 additions and 21 deletions
|
|
@ -87,7 +87,8 @@ sub classSettings {
|
|||
groupIdEdit => { defaultValue => 3 },
|
||||
hideFromNavigation => { defaultValue => 0 },
|
||||
},
|
||||
useDummyRoot => 1
|
||||
useDummyRoot => 1,
|
||||
table => 'page'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -236,9 +237,5 @@ sub makeUnique {
|
|||
return $url;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
sub table { 'page' }
|
||||
|
||||
1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue