[Phpmyadmin-git] [phpmyadmin/phpmyadmin] 03debd: Refactor: we had three similar functions, refactor...

Marc Delisle marc at infomarc.info
Sat Oct 4 14:30:02 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/phpmyadmin/phpmyadmin
  Commit: 03debd0a6eafa1277e7a15ca5d4748bfed5f5054
      https://github.com/phpmyadmin/phpmyadmin/commit/03debd0a6eafa1277e7a15ca5d4748bfed5f5054
  Author: Marc Delisle <marc at infomarc.info>
  Date:   2014-10-04 (Sat, 04 Oct 2014)

  Changed paths:
    M libraries/insert_edit.lib.php
    M tbl_change.php
    M test/libraries/PMA_insert_edit_test.php

  Log Message:
  -----------
  Refactor: we had three similar functions, refactored into just one.

Also, these functions returned false, or a string containing the type,
but the string was only used to indirectly mean a true value; now
we explicitely return true in this case.

Signed-off-by: Marc Delisle <marc at infomarc.info>




More information about the Git mailing list