Permalink
Browse files

MDL-30740 skydrive: show albums as essentially they are "folders"

If you create a folder in SkyDrive and add image to it, it will be calssified
as album and, this will not be listed without this patch.
  • Loading branch information...
1 parent 7446284 commit 1bb2f421302700d62dae2ee2b6ad8a2db190ad26 @kabalin kabalin committed with danpoltawski Nov 19, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 repository/skydrive/microsoftliveapi.php
@@ -127,6 +127,7 @@ public function get_file_list($path = '') {
foreach ($ret->data as $file) {
switch($file->type) {
case 'folder':
+ case 'album':
$files[] = array(
'title' => $file->name,
'path' => $file->id,

0 comments on commit 1bb2f42

Please sign in to comment.