diff options
author | ElgarL <ElgarL@palmergames.com> | 2011-10-16 08:58:45 +0100 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2011-10-16 08:58:45 +0100 |
commit | 569af0bcf02a057f076aaea168109eb1a7b3faec (patch) | |
tree | bb3de79e85f703d61d8f8e590123d2e0963699ba /EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder | |
parent | e04936455780f0649d4ae7975aeadd061fad1d29 (diff) | |
download | Essentials-569af0bcf02a057f076aaea168109eb1a7b3faec.tar Essentials-569af0bcf02a057f076aaea168109eb1a7b3faec.tar.gz Essentials-569af0bcf02a057f076aaea168109eb1a7b3faec.tar.lz Essentials-569af0bcf02a057f076aaea168109eb1a7b3faec.tar.xz Essentials-569af0bcf02a057f076aaea168109eb1a7b3faec.zip |
Added data.save.hours setting to config. This allow control over how
long backups are retained.
Diffstat (limited to 'EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java index 573fcebc3..7cbe4f65c 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/dataholder/worlds/WorldsHolder.java @@ -168,7 +168,7 @@ public class WorldsHolder { if (alreadyDone.contains(w)) { continue; } - Tasks.removeOldFiles(plugin.getBackupFolder()); + Tasks.removeOldFiles(plugin, plugin.getBackupFolder()); if (w == null) { GroupManager.logger.severe("WHAT HAPPENED?"); continue; |