Skip to content

Profile Edit Works#88

Open
abirshah wants to merge 1 commit into
masterfrom
abirshah_1
Open

Profile Edit Works#88
abirshah wants to merge 1 commit into
masterfrom
abirshah_1

Conversation

@abirshah
Copy link
Copy Markdown
Collaborator

Please review and merge.

@abirshah abirshah requested a review from yuxiang-zhang March 23, 2019 14:53
Copy link
Copy Markdown
Collaborator

@yuxiang-zhang yuxiang-zhang left a comment

Choose a reason for hiding this comment

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

Please remove irrelevant files

Comment thread profileEdit.php
$user_id = $_SESSION['user_id'];
$userimage=$getUserManager->image_retrieve($user_id);
echo' <center> <img src="data:image/jpeg;base64,'.($userimage['profile_image']).'" height="100" width="100"/> </center>';
$userimage=UserManager::image_retrieve($user_id);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I believe there is a function called getUserFromId

@yuxiang-zhang
Copy link
Copy Markdown
Collaborator

yuxiang-zhang commented Mar 23, 2019

The changes in the master weren't merged properly.
The tests should not fail.

@abirshah
Copy link
Copy Markdown
Collaborator Author

I didn't added any file, I am using ecelipse for editing , I don't that's why some files gets added.
Since your are doing refactoring, you can change code. Use getuserfromid()
I don't really know Travis.

Everything works in my computer locally. If I click the button Edit , it goes to the page editing profile and when you put new information , it gets updated

@abirshah
Copy link
Copy Markdown
Collaborator Author

What you can do merge it then change if anything necessary but it's works in computer , I can show it to you

@yuxiang-zhang
Copy link
Copy Markdown
Collaborator

I didn't added any file, I am using ecelipse for editing , I don't that's why some files gets added.
Since your are doing refactoring, you can change code. Use getuserfromid()
I don't really know Travis.

Everything works in my computer locally. If I click the button Edit , it goes to the page editing profile and when you put new information , it gets updated

Code works, granted. If you were to ask my opinion, it's bad code. Duplicated code and messed up merges from master. If I merge it messes up everything I've done for at least 10 hours. If you were to ask me to review, I disapprove these code. I will not merge them, unless you change them.

@abirshah
Copy link
Copy Markdown
Collaborator Author

Well other guys are also working on this. I actually made it works. If you want , we can discuss with prof his office our about it Or go to TA

@yuxiang-zhang
Copy link
Copy Markdown
Collaborator

Well other guys are also working on this. I actually made it works. If you want , we can discuss with prof his office our about it Or go to TA

You messed up my commits, that is the problem. You can even merge this yourself.

@abirshah
Copy link
Copy Markdown
Collaborator Author

I don't see any merge conflict. I don't really understand, how did I messed up your commit. I just fixed the edit profile page.

@yuxiang-zhang
Copy link
Copy Markdown
Collaborator

yuxiang-zhang commented Mar 23, 2019

Well other guys are also working on this. I actually made it works. If you want , we can discuss with prof his office our about it Or go to TA

You messed up my commits, that is the problem. You can even merge this yourself.

I don't see any merge conflict. I don't really understand, how did I messed up your commit. I just fixed the edit profile page.

Tests should pass. No merge conflicts since you deleted conflicting code. But not the right ones.

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.

2 participants