Skip to content

Commit

Permalink
Unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
thekabal committed Jun 12, 2016
1 parent edaa7ca commit 5233ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

class Text
{
public static function gotoMain(\PDO $pdo_db, $lang, $langvars)
public static function gotoMain(\PDO $pdo_db, $lang)
{
$langvars = Translate::load($pdo_db, $lang, array('global_funcs', 'common'));
echo str_replace('[here]', "<a href='main.php'>" . $langvars['l_here'] . '</a>', $langvars['l_global_mmenu']);
Expand Down

0 comments on commit 5233ac5

Please sign in to comment.