Skip to content

Commit

Permalink
Update database_cleaner_data.php
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSheer committed Nov 21, 2015
1 parent 0b078eb commit 8507cd8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions includes/database_cleaner/database_cleaner_data.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,8 @@ function init()
{
foreach ($this->tables as $table_name => $table_data)
{
$this->tables[str_replace('phpbb_', $table_prefix, str_replace($table_prefix, 'phpbb_', $table_name))] = $table_data;

unset($this->tables[$table_name]);
$this->tables[str_replace('phpbb_', $table_prefix, $table_name)] = $table_data;
}
}

Expand Down

0 comments on commit 8507cd8

Please sign in to comment.