mirror of https://github.com/BOINC/boinc.git
- fix db revision
This commit is contained in:
parent
02e70da914
commit
9df3e3df95
|
@ -17,10 +17,6 @@
|
|||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
// Perform DB updates.
|
||||
// Used by "upgrade".
|
||||
// Can also be run manually in project/html/ops.
|
||||
|
||||
require_once("../inc/util_ops.inc");
|
||||
|
||||
$db_revision = 0;
|
||||
|
@ -30,12 +26,12 @@ if (file_exists("../../db_revision")) {
|
|||
require_once("db_update.php");
|
||||
|
||||
$updates = array();
|
||||
foreach($db_updates as $db_update) {
|
||||
foreach ($db_updates as $db_update) {
|
||||
if ($db_update[0] > $db_revision) {
|
||||
$db_revision = $db_update[0];
|
||||
}
|
||||
}
|
||||
|
||||
echo "\n$db_version\n";
|
||||
echo "$db_revision\n";
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue