summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-10 00:09:56 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-10 00:09:56 +0200
commit02614d214e3ddc2234d570635adfb7eaa4d70ba1 (patch)
tree9d76008738e67b9d4623cf4c714c0f8ad4aae4ec /apps/files/appinfo
parent13178db46503402cf9fe34235519e3335c788752 (diff)
parentcefdcea02171672d6340d9db57a54ffac78c5ab8 (diff)
downloadnextcloud-server-02614d214e3ddc2234d570635adfb7eaa4d70ba1.tar.gz
nextcloud-server-02614d214e3ddc2234d570635adfb7eaa4d70ba1.zip
Merge pull request #15437 from owncloud/deleteorphanedfiles
[command] delete orphaned file cache entries
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r--apps/files/appinfo/register_command.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/appinfo/register_command.php b/apps/files/appinfo/register_command.php
index 7a2f39c3da7..3042c259872 100644
--- a/apps/files/appinfo/register_command.php
+++ b/apps/files/appinfo/register_command.php
@@ -21,3 +21,4 @@
*/
$application->add(new OCA\Files\Command\Scan(OC_User::getManager()));
+$application->add(new OCA\Files\Command\DeleteOrphanedFiles(\OC::$server->getDatabaseConnection()));