Skip to content

Commit

Permalink
Fix Installation when trying to reuse existing tables
Browse files Browse the repository at this point in the history
fixes #4107
  • Loading branch information
halfdan committed Sep 1, 2013
1 parent b674102 commit 356d476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Installation/Controller.php
Expand Up @@ -290,7 +290,7 @@ function tablesCreation()
Piwik::setUserIsSuperUser();
if ($baseTablesInstalled >= $minimumCountPiwikTables &&
count(SitesManagerAPI::getInstance()->getAllSitesId()) > 0 &&
count(SitesManagerAPI::getInstance()->getUsers()) > 0
count(UsersManagerAPI::getInstance()->getUsers()) > 0
) {
$view->showReuseExistingTables = true;
// when the user reuses the same tables we skip the website creation step
Expand Down

0 comments on commit 356d476

Please sign in to comment.