summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-07 11:44:34 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-08 10:23:56 +0200
commitcefdcea02171672d6340d9db57a54ffac78c5ab8 (patch)
treef02fdc5b93cf0ec398d10da8136291933f4bf1e1 /apps/files/appinfo
parent1fbf5d86df7ba4001ca826d9dfb8fad073924fde (diff)
downloadnextcloud-server-cefdcea02171672d6340d9db57a54ffac78c5ab8.tar.gz
nextcloud-server-cefdcea02171672d6340d9db57a54ffac78c5ab8.zip
[command] delete orphaned file cache entries
* ./occ files:cleanup * delete file cache entries without an existing storage
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()));