summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-06-27 16:50:10 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-06-27 16:50:10 +0200
commit5961d5aae4c40aae80050db4c8adf611b9c7888c (patch)
tree106f2ff3bc9b38ced537aa86f357a6a3d561a6ce /apps/files
parentdb6361ef0314868edc9d58a81c0806c8c758af0a (diff)
downloadnextcloud-server-5961d5aae4c40aae80050db4c8adf611b9c7888c.tar.gz
nextcloud-server-5961d5aae4c40aae80050db4c8adf611b9c7888c.zip
Add app:check-code for already compatible apps
* admin_audit, comments, federation * removed not needed call to OC_Util::checkAdminUser() (is already done by the request handler before)
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/admin.php2
-rw-r--r--apps/files/download.php3
-rw-r--r--apps/files/list.php3
3 files changed, 0 insertions, 8 deletions
diff --git a/apps/files/admin.php b/apps/files/admin.php
index 60f041a400b..48a6100838f 100644
--- a/apps/files/admin.php
+++ b/apps/files/admin.php
@@ -27,8 +27,6 @@
*
*/
-OCP\User::checkAdminUser();
-
$htaccessWorking=(getenv('htaccessWorking')=='true');
$upload_max_filesize = OC::$server->getIniWrapper()->getBytes('upload_max_filesize');
$post_max_size = OC::$server->getIniWrapper()->getBytes('post_max_size');
diff --git a/apps/files/download.php b/apps/files/download.php
index 38ac2a074c3..da01f98ed62 100644
--- a/apps/files/download.php
+++ b/apps/files/download.php
@@ -26,9 +26,6 @@
*
*/
-// Check if we are a user
-OCP\User::checkLoggedIn();
-
$filename = $_GET["file"];
if(!\OC\Files\Filesystem::file_exists($filename)) {
diff --git a/apps/files/list.php b/apps/files/list.php
index 6d2c463a2d9..2d7a304df24 100644
--- a/apps/files/list.php
+++ b/apps/files/list.php
@@ -20,9 +20,6 @@
*
*/
-// Check if we are a user
-OCP\User::checkLoggedIn();
-
$config = \OC::$server->getConfig();
// TODO: move this to the generated config.js
$publicUploadEnabled = $config->getAppValue('core', 'shareapi_allow_public_upload', 'yes');