Skip to content

Commit

Permalink
Repeated subexpressions in Ani-Shell.php
Browse files Browse the repository at this point in the history
Looks like repeated expressions `isset($_GET['exTime'])` and `$_GET['exTime'] != ""` can be removed.
  • Loading branch information
kilida authored Jun 23, 2016
1 parent ef86ed3 commit ebc1b5a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions php/Ani-Shell/Ani-Shell.php
Original file line number Diff line number Diff line change
Expand Up @@ -1939,12 +1939,10 @@ function exec_query_mysql($query,$sql_server,$sql_port,$sql_db,$sql_user,$sql_pa
isset($_GET['exTime']) &&
isset($_GET['port']) &&
isset($_GET['timeout']) &&
isset($_GET['exTime']) &&
$_GET['exTime'] != "" &&
$_GET['port'] != "" &&
$_GET['ip'] != "" &&
$_GET['timeout'] != "" &&
$_GET['exTime'] != ""
$_GET['timeout'] != ""
)
{
$IP=$_GET['ip'];
Expand Down

0 comments on commit ebc1b5a

Please sign in to comment.