Skip to content

Conversation

BernhardPosselt
Copy link
Contributor

* @return Folder
*/
private function getFolderForUser ($userId) {
$path = '/' . $userId . '/files/notes';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was 'files/Notes' before

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but the folder that went in was already in the /$userId/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean the folder used to be with an upper case 'N'

@BernhardPosselt
Copy link
Contributor Author

@LukasReschke unit tests + migration done :)

@@ -140,38 +110,98 @@ public function update($id, $content){
$title = str_replace(array('/', '\\'), '', $title);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we can get rid of this by using a view on Notes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should already be a view I think

LukasReschke added a commit that referenced this pull request Feb 11, 2015
migrate the notes app to owncloud 8
@LukasReschke LukasReschke merged commit 3fc2eba into master Feb 11, 2015
@LukasReschke LukasReschke deleted the migrate8 branch February 11, 2015 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants