summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-05-17 21:47:11 +0000
committerColin Smith <colin@pfsense.org>2005-05-17 21:47:11 +0000
commit1ed4805f8ffa1f0dda137631856a942e5f237263 (patch)
tree25471f5c044812b8703189fc896376de3f3a77da
parentdc74c78af76caef223183f250ad80354a108b07f (diff)
downloadpfsense-1ed4805f8ffa1f0dda137631856a942e5f237263.zip
pfsense-1ed4805f8ffa1f0dda137631856a942e5f237263.tar.gz
Don't bother checking for the directory - we already check for the cache itself.
-rw-r--r--etc/inc/config.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 5df1bcf..9b9d6e3 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -959,10 +959,6 @@ function cleanup_backupcache($bootup = false, $revisions = "all") {
global $g;
$i = false;
if($bootup) print "Cleaning backup cache...";
- if(!is_dir($g['cf_conf_path'] . '/backup')) {
- if($bootup) print " done.\n";
- return;
- }
if(file_exists($g['cf_conf_path'] . '/backup/backup.cache')) {
$backups = get_backups();
$newbaks = array();
OpenPOWER on IntegriCloud