Make media app listen for post_delete instead of delete
This commit is contained in:
parent
941f199caf
commit
1f35c94242
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ OC_Hook::connect('OC_User','post_login','OC_MEDIA','loginListener');
|
|||
OC_Hook::connect('OC_Filesystem','post_write','OC_MEDIA','updateFile');
|
||||
|
||||
//listen for file deletions to clean the database if a song is deleted
|
||||
OC_Hook::connect('OC_Filesystem','delete','OC_MEDIA','deleteFile');
|
||||
OC_Hook::connect('OC_Filesystem','post_delete','OC_MEDIA','deleteFile');
|
||||
|
||||
//list for file moves to update the database
|
||||
OC_Hook::connect('OC_Filesystem','post_rename','OC_MEDIA','moveFile');
|
||||
|
|
Loading…
Reference in a new issue