mirror of
https://github.com/calzoneman/sync.git
synced 2024-09-13 04:32:09 +00:00
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…
x
Reference in New Issue
Block a user