pull/1925/head
John McLear 2013-10-09 16:34:50 +01:00
parent 40a65bd41c
commit 2992e3ea2b
1 changed files with 0 additions and 4 deletions

View File

@ -39,7 +39,6 @@ var globalPads = {
this[':'+name] = value; this[':'+name] = value;
if(!padList.list.length == 0){ // If we haven't populated the padList.list yet if(!padList.list.length == 0){ // If we haven't populated the padList.list yet
console.warn("TEHB pad list is empty, filling it");
padList.init(); padList.init();
} }
@ -164,9 +163,7 @@ exports.getPad = function(id, text, callback)
exports.listAllPads = function(callback) exports.listAllPads = function(callback)
{ {
console.warn("list all pads RAA")
if(!padList.list.length == 0){ // If we haven't populated the padList.list yet if(!padList.list.length == 0){ // If we haven't populated the padList.list yet
console.warn("pad list is empty, filling it asd asd ");
padList.init(); padList.init();
} }
if(callback != null){ if(callback != null){
@ -235,7 +232,6 @@ exports.isValidPadId = function(padId)
*/ */
exports.removePad = function(padId){ exports.removePad = function(padId){
if(!padList.list.length == 0){ // If we haven't populated the padList.list yet if(!padList.list.length == 0){ // If we haven't populated the padList.list yet
// console.warn("pad list is empty, filling it");
padList.init(); padList.init();
} }
db.remove("pad:"+padId); db.remove("pad:"+padId);