From 4c93bf06b690dc8a2dd1d8d73b330ee6de7a7043 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.org.ru>
Date: Wed, 14 Apr 2010 14:18:13 +0400
Subject: [PATCH] remove custom hardcoded cache destinations in various daemon
 scripts

---
 update_daemon2.php     | 2 --
 update_daemon_loop.php | 2 --
 update_feeds.php       | 4 ----
 3 files changed, 8 deletions(-)

diff --git a/update_daemon2.php b/update_daemon2.php
index 779373a63..431f0b6a1 100755
--- a/update_daemon2.php
+++ b/update_daemon2.php
@@ -8,8 +8,6 @@
 
 	declare(ticks = 1);
 
-	define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-daemon');
-	define('SIMPLEPIE_CACHE_DIR',	'/var/tmp/simplepie-ttrss-cache-daemon');
 	define('DISABLE_SESSIONS', true);
 
 	require_once "version.php";
diff --git a/update_daemon_loop.php b/update_daemon_loop.php
index 064a904d3..0586aa4dd 100755
--- a/update_daemon_loop.php
+++ b/update_daemon_loop.php
@@ -12,8 +12,6 @@
 
 	declare(ticks = 1);
 
-	define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-daemon');
-	define('SIMPLEPIE_CACHE_DIR',	'/var/tmp/simplepie-ttrss-cache-daemon');
 	define('DISABLE_SESSIONS', true);
 
 	require_once "version.php";
diff --git a/update_feeds.php b/update_feeds.php
index 588a0a9b5..0d93358e5 100755
--- a/update_feeds.php
+++ b/update_feeds.php
@@ -1,9 +1,5 @@
 #!/usr/bin/php
 <?php
-	// this script is probably run not from your httpd-user, so cache
-	// directory defined in config.php won't be accessible
-	define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache-cli');
-	define('SIMPLEPIE_CACHE_DIR',	'/var/tmp/simplepie-ttrss-cache-cli');
 	define('DEFAULT_ERROR_LEVEL', E_ERROR | E_WARNING | E_PARSE);
 	define('DISABLE_SESSIONS', true);
 
-- 
GitLab