diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-04-20 16:38:03 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-04-20 16:38:03 +0200 |
commit | 15dae6198fc4855519a0ed2347c29485a061f6aa (patch) | |
tree | 50b30ba641fbf352865e79b8ca0ce6bb0a76bd9b /apps | |
parent | c50dfd725142abdbad93dbcf01fe13193445386a (diff) | |
download | nextcloud-server-15dae6198fc4855519a0ed2347c29485a061f6aa.tar.gz nextcloud-server-15dae6198fc4855519a0ed2347c29485a061f6aa.zip |
Cache: add a backgroundjob to check for external changes to the filesystem
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/appinfo/app.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/appinfo/app.php b/apps/files/appinfo/app.php index 703b1c7cb6c..05ab1722b3e 100644 --- a/apps/files/appinfo/app.php +++ b/apps/files/appinfo/app.php @@ -18,4 +18,6 @@ OC_Search::registerProvider('OC_Search_Provider_File'); \OC_Hook::connect('OC_Filesystem', 'post_write', '\OC\Files\Cache\Updater', 'writeHook'); \OC_Hook::connect('OC_Filesystem', 'post_touch', '\OC\Files\Cache\Updater', 'touchHook'); \OC_Hook::connect('OC_Filesystem', 'post_delete', '\OC\Files\Cache\Updater', 'deleteHook'); -\OC_Hook::connect('OC_Filesystem', 'post_rename', '\OC\Files\Cache\Updater', 'renameHook');
\ No newline at end of file +\OC_Hook::connect('OC_Filesystem', 'post_rename', '\OC\Files\Cache\Updater', 'renameHook'); + +\OC_BackgroundJob_RegularTask::register('\OC\Files\Cache\BackgroundWatcher', 'checkNext'); |