Respect recent mmaster changes. Fixes #271

pull/1/head
Victor Dubiniuk 10 years ago
parent 5b9362d424
commit 153ca42056

@ -36,6 +36,7 @@ class UserController extends Controller{
}
}
\OCP\JSON::success();
exit();
}
public static function rename($args){

@ -208,7 +208,7 @@ class File {
$query = \OC_DB::prepare('SELECT `*PREFIX*share`.`id`, `item_type`, `*PREFIX*share`.`parent`, `uid_owner`, '
.'`share_type`, `share_with`, `file_source`, `path`, `file_target`, '
.'`permissions`, `expiration`, `storage`, `*PREFIX*filecache`.`parent` as `file_parent`, '
.'`*PREFIX*share`.`permissions`, `expiration`, `storage`, `*PREFIX*filecache`.`parent` as `file_parent`, '
.'`name`, `mtime`, `mimetype`, `mimepart`, `size`, `encrypted`, `etag`'
.'FROM `*PREFIX*share` INNER JOIN `*PREFIX*filecache` ON `file_source` = `*PREFIX*filecache`.`fileid` WHERE `item_type` = \'file\' ' . $where);
$result = $query->execute($values);

Loading…
Cancel
Save