Ejemplo n.º 1
0
function handleFilescan($cleanup)
{
    if ($cleanup) {
        OC_Gallery_Album::cleanup();
    }
    $pathlist = OC_Gallery_Scanner::find_paths();
    sort($pathlist);
    OCP\JSON::success(array('paths' => $pathlist));
}
Ejemplo n.º 2
0
 public static function cleanUp()
 {
     OC_Gallery_Album::cleanup();
 }