MDL-30740 skydrive: show albums as essentially they are "folders"
[moodle.git] / repository / skydrive / microsoftliveapi.php
index e19e9a5..bcadcd2 100644 (file)
@@ -127,6 +127,7 @@ class microsoft_skydrive extends oauth2_client {
         foreach ($ret->data as $file) {
             switch($file->type) {
                 case 'folder':
+                case 'album':
                     $files[] = array(
                         'title' => $file->name,
                         'path' => $file->id,