summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-03-18 17:14:38 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-03-18 17:14:38 +0100
commit6b9ae27b90ee5649fcab2417ebaf14e87559756e (patch)
treea5ce01aee8c99e2d4a37c1f090c7a1d82443af41 /core
parentf6c3667efa32d0fa24307b3acc3a239081bf6410 (diff)
downloadnextcloud-server-6b9ae27b90ee5649fcab2417ebaf14e87559756e.tar.gz
nextcloud-server-6b9ae27b90ee5649fcab2417ebaf14e87559756e.zip
drop file cache migration OC5 -> OC6
Diffstat (limited to 'core')
-rw-r--r--core/ajax/update.php9
-rw-r--r--core/command/upgrade.php9
2 files changed, 0 insertions, 18 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php
index d6af84e95b1..2a0cbb2036d 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -16,15 +16,6 @@ if (OC::checkUpgrade(false)) {
$updater->listen('\OC\Updater', 'dbUpgrade', function () use ($eventSource, $l) {
$eventSource->send('success', (string)$l->t('Updated database'));
});
- $updater->listen('\OC\Updater', 'filecacheStart', function () use ($eventSource, $l) {
- $eventSource->send('success', (string)$l->t('Updating filecache, this may take really long...'));
- });
- $updater->listen('\OC\Updater', 'filecacheDone', function () use ($eventSource, $l) {
- $eventSource->send('success', (string)$l->t('Updated filecache'));
- });
- $updater->listen('\OC\Updater', 'filecacheProgress', function ($out) use ($eventSource, $l) {
- $eventSource->send('success', (string)$l->t('... %d%% done ...', array('percent' => $out)));
- });
$updater->listen('\OC\Updater', 'failure', function ($message) use ($eventSource) {
$eventSource->send('failure', $message);
$eventSource->close();
diff --git a/core/command/upgrade.php b/core/command/upgrade.php
index 6e5681b26df..cfccfb5d2f0 100644
--- a/core/command/upgrade.php
+++ b/core/command/upgrade.php
@@ -59,15 +59,6 @@ class Upgrade extends Command {
$updater->listen('\OC\Updater', 'dbUpgrade', function () use($output) {
$output->writeln('<info>Updated database</info>');
});
- $updater->listen('\OC\Updater', 'filecacheStart', function () use($output) {
- $output->writeln('<info>Updating filecache, this may take really long...</info>');
- });
- $updater->listen('\OC\Updater', 'filecacheDone', function () use($output) {
- $output->writeln('<info>Updated filecache</info>');
- });
- $updater->listen('\OC\Updater', 'filecacheProgress', function ($out) use($output) {
- $output->writeln('... ' . $out . '% done ...');
- });
$updater->listen('\OC\Updater', 'failure', function ($message) use($output) {
$output->writeln($message);