fix write hook for gallery

remotes/origin/stable4
Robin Appelman 13 years ago
parent d8cfe77ba5
commit 700a120c22
  1. 2
      apps/gallery/lib/hooks_handlers.php

@ -68,7 +68,7 @@ class OC_Gallery_Hooks_Handlers {
if (!self::isPhoto($fullpath)) return;
$path = substr($fullpath, 0, strrpos($fullpath, '/'));
$path = dirname($fullpath);
if (!self::pathInRoot($path)) return;
OC_Gallery_Scanner::scanDir($path, $albums);

Loading…
Cancel
Save