The direct structure call is now only executed when called via the poller.php

This commit is contained in:
Michael 2017-09-30 17:12:27 +00:00
commit 2971501f63
4 changed files with 8 additions and 6 deletions

View file

@ -29,7 +29,6 @@ echo "New DB VERSION: " . DB_UPDATE_VERSION . "\n";
if ($build != DB_UPDATE_VERSION) {
echo "Updating database...";
check_db($a);
update_db($a);
echo "Done\n";
}