1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-09 08:06:38 +02:00

Plugin update detection fix.

This commit is contained in:
Cameron
2017-11-07 17:52:15 -08:00
parent e1b5dd9449
commit 1841b82586
2 changed files with 49 additions and 17 deletions

View File

@@ -408,9 +408,9 @@ function update_check()
}
}
e107::getConfig()->set('db_updates', $dbUpdatesPref)->save(false,true,false);
}
e107::getConfig()->set('db_updates', $dbUpdatesPref)->save(false,true,false);
// Now check plugins - XXX DEPRECATED
@@ -426,11 +426,11 @@ function update_check()
}
}
}
// New in v2.x
if(e107::getPlugin()->updateRequired('boolean'))
{
$update_needed = TRUE;
$update_needed = TRUE;
}