mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02: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:
+1
-1
@@ -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