Skip to content

Commit

Permalink
Merge pull request #14430 from nextcloud/bugfix/13990/remove-upload-s…
Browse files Browse the repository at this point in the history
…etting

Remove the upload and memory setting
  • Loading branch information
MorrisJobke authored Mar 4, 2019
2 parents daee222 + c6a69ba commit bbb168a
Show file tree
Hide file tree
Showing 19 changed files with 7 additions and 649 deletions.
3 changes: 0 additions & 3 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
</FilesMatch>
</IfModule>
<IfModule mod_php7.c>
php_value upload_max_filesize 511M
php_value post_max_size 511M
php_value memory_limit 512M
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
php_value output_buffering 0
Expand Down
3 changes: 0 additions & 3 deletions .user.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
upload_max_filesize=511M
post_max_size=511M
memory_limit=512M
mbstring.func_overload=0
always_populate_raw_post_data=-1
default_charset='UTF-8'
Expand Down
4 changes: 0 additions & 4 deletions apps/files/appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@
<command>OCA\Files\Command\ScanAppData</command>
</commands>

<settings>
<admin>OCA\Files\Settings\Admin</admin>
</settings>

<activity>
<settings>
<setting>OCA\Files\Activity\Settings\FavoriteAction</setting>
Expand Down
5 changes: 0 additions & 5 deletions apps/files/appinfo/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@
'url' => '/',
'verb' => 'GET',
],
[
'name' => 'settings#setMaxUploadSize',
'url' => '/settings/maxUpload',
'verb' => 'POST',
],
[
'name' => 'ajax#getStorageStats',
'url' => '/ajax/getstoragestats.php',
Expand Down
2 changes: 0 additions & 2 deletions apps/files/composer/composer/autoload_classmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@
'OCA\\Files\\Command\\TransferOwnership' => $baseDir . '/../lib/Command/TransferOwnership.php',
'OCA\\Files\\Controller\\AjaxController' => $baseDir . '/../lib/Controller/AjaxController.php',
'OCA\\Files\\Controller\\ApiController' => $baseDir . '/../lib/Controller/ApiController.php',
'OCA\\Files\\Controller\\SettingsController' => $baseDir . '/../lib/Controller/SettingsController.php',
'OCA\\Files\\Controller\\ViewController' => $baseDir . '/../lib/Controller/ViewController.php',
'OCA\\Files\\Helper' => $baseDir . '/../lib/Helper.php',
'OCA\\Files\\Service\\TagService' => $baseDir . '/../lib/Service/TagService.php',
'OCA\\Files\\Settings\\Admin' => $baseDir . '/../lib/Settings/Admin.php',
);
2 changes: 0 additions & 2 deletions apps/files/composer/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,9 @@ class ComposerStaticInitFiles
'OCA\\Files\\Command\\TransferOwnership' => __DIR__ . '/..' . '/../lib/Command/TransferOwnership.php',
'OCA\\Files\\Controller\\AjaxController' => __DIR__ . '/..' . '/../lib/Controller/AjaxController.php',
'OCA\\Files\\Controller\\ApiController' => __DIR__ . '/..' . '/../lib/Controller/ApiController.php',
'OCA\\Files\\Controller\\SettingsController' => __DIR__ . '/..' . '/../lib/Controller/SettingsController.php',
'OCA\\Files\\Controller\\ViewController' => __DIR__ . '/..' . '/../lib/Controller/ViewController.php',
'OCA\\Files\\Helper' => __DIR__ . '/..' . '/../lib/Helper.php',
'OCA\\Files\\Service\\TagService' => __DIR__ . '/..' . '/../lib/Service/TagService.php',
'OCA\\Files\\Settings\\Admin' => __DIR__ . '/..' . '/../lib/Settings/Admin.php',
);

public static function getInitializer(ClassLoader $loader)
Expand Down
70 changes: 0 additions & 70 deletions apps/files/js/admin.js

This file was deleted.

51 changes: 0 additions & 51 deletions apps/files/lib/Controller/SettingsController.php

This file was deleted.

87 changes: 0 additions & 87 deletions apps/files/lib/Settings/Admin.php

This file was deleted.

20 changes: 0 additions & 20 deletions apps/files/templates/admin.php

This file was deleted.

84 changes: 0 additions & 84 deletions apps/files/tests/Settings/AdminTest.php

This file was deleted.

Loading

0 comments on commit bbb168a

Please sign in to comment.