Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Delisle <[email protected]>
  • Loading branch information
Marc Delisle committed Dec 5, 2014
1 parent e2c9a90 commit 20f7402
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions libraries/import.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -894,9 +894,6 @@ function PMA_analyzeTable(&$table)
$types[$i] = NONE;
}

/* Temp vars */
$curr_type = NONE;

/* If the passed array is not of the correct form, do not process it */
if (!is_array($table)
|| is_array($table[TBL_NAME])
Expand Down
2 changes: 1 addition & 1 deletion libraries/navigation/NavigationTree.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ private function _buildPathPart($path, $type2, $pos2, $type3, $pos3)

$table = $container->getChild($path[0], true);
if ($table === false) {
if (!$db->getPresence('tables', $path[0], true)) {
if (!$db->getPresence('tables', $path[0])) {
return false;
}

Expand Down

0 comments on commit 20f7402

Please sign in to comment.