mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix svn db reloading
git-svn-id: http://www.observium.org/svn/observer/trunk@710 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -56,7 +56,7 @@ if (file_exists('.svn'))
|
||||
{
|
||||
echo("Applying database updates to from r$db_rev to r" . trim($dbu_rev) . "...\n");
|
||||
shell_exec("scripts/update-sql.php database-update.sql");
|
||||
if ($dbrev == 0)
|
||||
if ($db_rev == 0)
|
||||
{
|
||||
mysql_query("INSERT INTO dbSchema VALUES ($dbu_rev)");
|
||||
}
|
||||
|
Reference in New Issue
Block a user