summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-03-19 11:29:50 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-03-19 11:29:50 +0100
commit33e96597d1fe64d9d7e21d7d94708355c6a7cacf (patch)
tree6230584c9c959ce40b7376aff71f0c4dcada0953 /core
parentff5b79edebf6c1d1f492a52882c3b2a4f7a77f42 (diff)
parent6b9ae27b90ee5649fcab2417ebaf14e87559756e (diff)
downloadnextcloud-server-33e96597d1fe64d9d7e21d7d94708355c6a7cacf.tar.gz
nextcloud-server-33e96597d1fe64d9d7e21d7d94708355c6a7cacf.zip
Merge pull request #7790 from owncloud/fix/7788
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);