On Wed, Apr 4, 2012 at 9:31 AM, Thilina Buddika Abeyrathna <thilinaabeyrathna@gmail.com> wrote:


On Wed, Apr 4, 2012 at 2:37 AM, Marc Delisle <marc@infomarc.info> wrote:
Le 2012-04-03 14:02, Thilina Buddika Abeyrathna a écrit :
> Hi Marc,
> I'm looking to refactor some small piece of code in phpmyadmin. Then I can
> more familiar with code base. So if you have suggestion please let me know.


Thilina,
in user_password.php there is a long "if" that starts with

if (isset($_REQUEST['nopass'])) {

can you improve some parts of it?

Hi Marc,
Ok, I'll do.

Hi Marc,
I have tried to do some refactoring for user_password.php script which you mentioned earlier. please review that and give me some advice to improve my refactoring skill, because I'm new to code refactpring.

--
Regards.

Thilina Buddika Abeyrathna,
Department of Computer Engineering,
Faculty Of Engineering,
University of Peradeniya,
Sri Lanka.