mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Removed unused locale fields
refs https://github.com/TryGhost/Ghost/pull/12599 - These fields have been deprecated since API v2 and no longer are returned or exposed
This commit is contained in:
parent
fb0342618a
commit
ce20117307
3 changed files with 0 additions and 3 deletions
|
@ -92,7 +92,6 @@ export default Model.extend(Comparable, ValidationEngine, {
|
||||||
twitterDescription: attr('string'),
|
twitterDescription: attr('string'),
|
||||||
emailSubject: attr('string'),
|
emailSubject: attr('string'),
|
||||||
html: attr('string'),
|
html: attr('string'),
|
||||||
locale: attr('string'),
|
|
||||||
visibility: attr('string'),
|
visibility: attr('string'),
|
||||||
metaDescription: attr('string'),
|
metaDescription: attr('string'),
|
||||||
metaTitle: attr('string'),
|
metaTitle: attr('string'),
|
||||||
|
|
|
@ -20,7 +20,6 @@ export default BaseModel.extend(ValidationEngine, {
|
||||||
location: attr('string'),
|
location: attr('string'),
|
||||||
accessibility: attr('string'),
|
accessibility: attr('string'),
|
||||||
status: attr('string'),
|
status: attr('string'),
|
||||||
locale: attr('string'),
|
|
||||||
metaTitle: attr('string'),
|
metaTitle: attr('string'),
|
||||||
metaDescription: attr('string'),
|
metaDescription: attr('string'),
|
||||||
lastLoginUTC: attr('moment-utc'),
|
lastLoginUTC: attr('moment-utc'),
|
||||||
|
|
|
@ -12,7 +12,6 @@ export default Factory.extend({
|
||||||
featured: false,
|
featured: false,
|
||||||
featureImage(i) { return `/content/images/2015/10/post-${i}.jpg`; },
|
featureImage(i) { return `/content/images/2015/10/post-${i}.jpg`; },
|
||||||
html(i) { return `<p>HTML for post ${i}.</p>`; },
|
html(i) { return `<p>HTML for post ${i}.</p>`; },
|
||||||
locale: null,
|
|
||||||
visibility: 'public',
|
visibility: 'public',
|
||||||
metaDescription(i) { return `Meta description for post ${i}.`; },
|
metaDescription(i) { return `Meta description for post ${i}.`; },
|
||||||
metaTitle(i) { return `Meta Title for post ${i}`; },
|
metaTitle(i) { return `Meta Title for post ${i}`; },
|
||||||
|
|
Loading…
Add table
Reference in a new issue