add trash bin and file versions delete hooks in OC::registerPreviewHooks
This commit is contained in:
parent
238e4bc3eb
commit
49cd5dad24
|
@ -619,6 +619,8 @@ class OC {
|
|||
public static function registerPreviewHooks() {
|
||||
OC_Hook::connect('OC_Filesystem', 'post_write', 'OC\Preview', 'post_write');
|
||||
OC_Hook::connect('OC_Filesystem', 'delete', 'OC\Preview', 'post_delete');
|
||||
OC_Hook::connect('\OCP\Versions', 'delete', 'OC\Preview', 'post_delete');
|
||||
OC_Hook::connect('\OCP\Trashbin', 'delete', 'OC\Preview', 'post_delete');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue