Skip to content

Commit

Permalink
🔥 remove fileStorage option (#8144)
Browse files Browse the repository at this point in the history
refs #8032

- this was used to disable the upload image functionality in Ghost-Admin
- we no longer need this boolean, because people can add their own storage adapter
  • Loading branch information
kirrg001 authored and kevinansfield committed Mar 14, 2017
1 parent 27ee1dc commit 974adee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion core/server/api/configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ function getAboutConfig() {

function getBaseConfig() {
return {
fileStorage: config.get('fileStorage') !== false,
useGravatar: !config.isPrivacyDisabled('useGravatar'),
publicAPI: config.get('publicAPI') === true,
blogUrl: utils.url.urlFor('home', true),
Expand Down
1 change: 0 additions & 1 deletion core/test/integration/api/api_configuration_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ describe('Configuration API', function () {
amp: 'amp'
});

props.fileStorage.should.eql(true);
props.useGravatar.should.eql(false);
props.publicAPI.should.eql(false);
props.clientId.should.eql('ghost-admin');
Expand Down

0 comments on commit 974adee

Please sign in to comment.