mirror of https://github.com/calzoneman/sync.git
Add workaround for migrator error
This commit is contained in:
parent
81cbfc0639
commit
0e66875d27
|
@ -556,6 +556,10 @@ module.exports.listStats = function (callback) {
|
|||
|
||||
/* Misc */
|
||||
module.exports.loadAnnouncement = function () {
|
||||
if (!Server.getServer()) {
|
||||
return;
|
||||
}
|
||||
|
||||
var query = "SELECT * FROM `meta` WHERE `key`='announcement'";
|
||||
module.exports.query(query, function (err, rows) {
|
||||
if (err) {
|
||||
|
|
Loading…
Reference in New Issue