diff options
author | Marius Blüm <marius@lineone.io> | 2016-06-27 23:02:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-27 23:02:32 +0200 |
commit | 52f6d97e4e15390fde0101869d7ba0968bef999e (patch) | |
tree | 7ae6c81bab8f911383f423b77581e20764e9091c /apps | |
parent | e0445856b9db42542d5207fae26bb1c0f3686fc3 (diff) | |
parent | 5961d5aae4c40aae80050db4c8adf611b9c7888c (diff) | |
download | nextcloud-server-52f6d97e4e15390fde0101869d7ba0968bef999e.tar.gz nextcloud-server-52f6d97e4e15390fde0101869d7ba0968bef999e.zip |
Merge pull request #235 from nextcloud/fix-app-code
Add app:check-code for already compatible apps
Diffstat (limited to 'apps')
-rw-r--r-- | apps/encryption/settings/settings-admin.php | 2 | ||||
-rw-r--r-- | apps/federatedfilesharing/settings-admin.php | 2 | ||||
-rw-r--r-- | apps/federation/settings/settings-admin.php | 2 | ||||
-rw-r--r-- | apps/files/admin.php | 2 | ||||
-rw-r--r-- | apps/files/download.php | 3 | ||||
-rw-r--r-- | apps/files/list.php | 3 | ||||
-rw-r--r-- | apps/files_external/settings.php | 2 | ||||
-rw-r--r-- | apps/user_ldap/settings.php | 2 |
8 files changed, 0 insertions, 18 deletions
diff --git a/apps/encryption/settings/settings-admin.php b/apps/encryption/settings/settings-admin.php index 87de11bba0f..bca3d5168a0 100644 --- a/apps/encryption/settings/settings-admin.php +++ b/apps/encryption/settings/settings-admin.php @@ -22,8 +22,6 @@ * */ -\OC_Util::checkAdminUser(); - $tmpl = new OCP\Template('encryption', 'settings-admin'); $crypt = new \OCA\Encryption\Crypto\Crypt( diff --git a/apps/federatedfilesharing/settings-admin.php b/apps/federatedfilesharing/settings-admin.php index 33851129942..9875dcf3b5b 100644 --- a/apps/federatedfilesharing/settings-admin.php +++ b/apps/federatedfilesharing/settings-admin.php @@ -22,8 +22,6 @@ use OCA\FederatedFileSharing\AppInfo\Application; -\OC_Util::checkAdminUser(); - $app = new Application('federatedfilesharing'); $federatedShareProvider = $app->getFederatedShareProvider(); diff --git a/apps/federation/settings/settings-admin.php b/apps/federation/settings/settings-admin.php index b5fd7710efc..4511ff954b5 100644 --- a/apps/federation/settings/settings-admin.php +++ b/apps/federation/settings/settings-admin.php @@ -19,8 +19,6 @@ * */ -\OC_Util::checkAdminUser(); - $template = new OCP\Template('federation', 'settings-admin'); $dbHandler = new \OCA\Federation\DbHandler( 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'); diff --git a/apps/files_external/settings.php b/apps/files_external/settings.php index e2c70062bf3..24cd9cd9aeb 100644 --- a/apps/files_external/settings.php +++ b/apps/files_external/settings.php @@ -26,8 +26,6 @@ use \OCA\Files_External\Service\BackendService; -\OCP\User::checkAdminUser(); - // we must use the same container $appContainer = \OC_Mount_Config::$app->getContainer(); $backendService = $appContainer->query('OCA\Files_External\Service\BackendService'); diff --git a/apps/user_ldap/settings.php b/apps/user_ldap/settings.php index fb4d983517e..5c69b2ed961 100644 --- a/apps/user_ldap/settings.php +++ b/apps/user_ldap/settings.php @@ -27,8 +27,6 @@ * */ -OC_Util::checkAdminUser(); - // fill template $tmpl = new OCP\Template('user_ldap', 'settings'); |