diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-04-07 11:44:34 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-04-08 10:23:56 +0200 |
commit | cefdcea02171672d6340d9db57a54ffac78c5ab8 (patch) | |
tree | f02fdc5b93cf0ec398d10da8136291933f4bf1e1 /apps/files/appinfo | |
parent | 1fbf5d86df7ba4001ca826d9dfb8fad073924fde (diff) | |
download | nextcloud-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.php | 1 |
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())); |