From: <var...@us...> - 2012-10-05 13:50:24
|
Revision: 8394 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8394&view=rev Author: vargenau Date: 2012-10-05 13:50:15 +0000 (Fri, 05 Oct 2012) Log Message: ----------- Be consistent in return Modified Paths: -------------- trunk/lib/upgrade.php Modified: trunk/lib/upgrade.php =================================================================== --- trunk/lib/upgrade.php 2012-10-05 13:26:27 UTC (rev 8393) +++ trunk/lib/upgrade.php 2012-10-05 13:50:15 UTC (rev 8394) @@ -770,8 +770,9 @@ return; } } elseif (DBADMIN_USER) { - if ($this->_try_dbadmin_user(DBADMIN_USER, DBADMIN_PASSWD)) - return true; + if ($this->_try_dbadmin_user(DBADMIN_USER, DBADMIN_PASSWD)) { + return; + } } // Check if the privileges are enough. Need CREATE and ALTER perms. // And on windows: SELECT FROM mysql, possibly: UPDATE mysql. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |