From cefdcea02171672d6340d9db57a54ffac78c5ab8 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 7 Apr 2015 11:44:34 +0200 Subject: [command] delete orphaned file cache entries * ./occ files:cleanup * delete file cache entries without an existing storage --- apps/files/appinfo/register_command.php | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/files/appinfo') 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())); -- cgit v1.2.3