mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-05 12:16:45 +02:00
Pad list cache: You can't change the cache if it's not initiated
(as per 200f2507172d50084cd8cfe6aae6b25a3045fb09 - doh.)
This commit is contained in:
parent
ef4e0d0eb0
commit
22b0bafafd
@ -60,10 +60,10 @@ var padList = {
|
||||
{
|
||||
if(ERR(err, cb)) return;
|
||||
if(dbData != null){
|
||||
padList.initiated = true
|
||||
dbData.forEach(function(val){
|
||||
padList.addPad(val.replace(/pad:/,""),false);
|
||||
});
|
||||
padList.initiated = true
|
||||
cb && cb()
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user