mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-31 16:23:50 +02:00
Major updates on the road to 0.7
git-svn-id: http://www.observium.org/svn/observer/trunk@492 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -68,8 +68,8 @@ $year = time() - (365 * 24 * 60 * 60);
|
||||
### Update Database between 0.6.0 and 0.6.1 (slight slowdown)
|
||||
|
||||
$exists = false;
|
||||
$columns = mysql_query("SHOW columns FROM `interfaces`");
|
||||
while($c = mysql_fetch_assoc($columns)){
|
||||
$columns = @mysql_query("SHOW columns FROM `interfaces`");
|
||||
while($c = @mysql_fetch_assoc($columns)){
|
||||
if($c['Field'] == "pagpOperationMode"){
|
||||
$db_pagp = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user