summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-11-30 12:11:03 +0100
committerGitHub <noreply@github.com>2020-11-30 12:11:03 +0100
commit9a3cc099dbe121072deb002288eff07afeb5e6be (patch)
tree39f3a20600f9918f39f1c29a9203ea6cb54bc6cc /core
parent344eacb8d8ca21a0673ce7709f22aa6e4b162cc3 (diff)
parentfd649afb1fd38f1a2cb0d5f07b651d607864c1f8 (diff)
downloadnextcloud-server-9a3cc099dbe121072deb002288eff07afeb5e6be.tar.gz
nextcloud-server-9a3cc099dbe121072deb002288eff07afeb5e6be.zip
Merge pull request #24414 from nextcloud/techdebt/remove-update-php
Remove the deprecated update.php
Diffstat (limited to 'core')
-rw-r--r--core/Command/App/CheckCode.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/core/Command/App/CheckCode.php b/core/Command/App/CheckCode.php
index 40d632a1ad3..2480e1fa45d 100644
--- a/core/Command/App/CheckCode.php
+++ b/core/Command/App/CheckCode.php
@@ -157,8 +157,6 @@ class CheckCode extends Command implements CompletionAwareInterface {
$errors = array_merge($errors, $schemaErrors['errors']);
}
- $this->analyseUpdateFile($appId, $output);
-
if (empty($errors)) {
$output->writeln('<info>App is compliant - awesome job!</info>');
return 0;
@@ -169,22 +167,6 @@ class CheckCode extends Command implements CompletionAwareInterface {
}
/**
- * @param string $appId
- * @param $output
- */
- private function analyseUpdateFile($appId, OutputInterface $output) {
- $appPath = \OC_App::getAppPath($appId);
- if ($appPath === false) {
- throw new \RuntimeException("No app with given id <$appId> known.");
- }
-
- $updatePhp = $appPath . '/appinfo/update.php';
- if (file_exists($updatePhp)) {
- $output->writeln("<info>Deprecated file found: $updatePhp - please use repair steps</info>");
- }
- }
-
- /**
* @param string $optionName
* @param CompletionContext $context
* @return string[]