[Phpmyadmin-git] [phpmyadmin/phpmyadmin] d1c5a3: Simplify the code and improve messages

Michal Čihař michal at cihar.com
Mon Mar 31 10:24:08 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/phpmyadmin/phpmyadmin
  Commit: d1c5a385eebf064dcd919cee18d707f693a3116b
      https://github.com/phpmyadmin/phpmyadmin/commit/d1c5a385eebf064dcd919cee18d707f693a3116b
  Author: Michal Čihař <michal at cihar.com>
  Date:   2014-03-31 (Mon, 31 Mar 2014)

  Changed paths:
    M libraries/tbl_columns_definition_form.lib.php

  Log Message:
  -----------
  Simplify the code and improve messages

- Use conditions rather than ternary operator, which is hard to read
  with multiple conditions.
- Do not concatenat translated message, use format string instead.

Signed-off-by: Michal Čihař <michal at cihar.com>




More information about the Git mailing list