From 6e5f7757b69e3f727a89ec6e2fd720a9c1f1a61f Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 23 Nov 2010 21:23:25 +0000 Subject: [PATCH] removed old cache --- lam/docs/devel/index.htm | 3 +- lam/docs/devel/other_libs.htm | 25 ++-- lam/docs/manual-sources/howto.xml | 6 +- lam/lib/cache.inc | 204 ------------------------------ lam/lib/modules.inc | 3 - lam/templates/delete.php | 4 - lam/templates/main.php | 7 - lam/templates/massDoUpload.php | 3 - 8 files changed, 13 insertions(+), 242 deletions(-) delete mode 100644 lam/lib/cache.inc diff --git a/lam/docs/devel/index.htm b/lam/docs/devel/index.htm index b24ae3a2..a1213c05 100644 --- a/lam/docs/devel/index.htm +++ b/lam/docs/devel/index.htm @@ -2,6 +2,7 @@ LAM development documentation +
@@ -64,7 +65,7 @@ lists
\n"; diff --git a/lam/templates/main.php b/lam/templates/main.php index 940793f4..963b2744 100644 --- a/lam/templates/main.php +++ b/lam/templates/main.php @@ -28,8 +28,6 @@ $Id$ * @author Roland Gruber */ -/** LDAP attibute cache */ -include_once('../lib/cache.inc'); /** config object */ include_once('../lib/config.inc'); @@ -38,11 +36,6 @@ startSecureSession(); setlanguage(); -// create cache object -if (!isset($_SESSION['cache'])) { - $_SESSION['cache'] = new cache(); -} - // check if all suffixes in conf-file exist $conf = $_SESSION['config']; $new_suffs = array(); diff --git a/lam/templates/massDoUpload.php b/lam/templates/massDoUpload.php index 5cbf4f0e..0fd6b912 100644 --- a/lam/templates/massDoUpload.php +++ b/lam/templates/massDoUpload.php @@ -38,8 +38,6 @@ include_once('../lib/ldap.inc'); include_once('../lib/status.inc'); /** account modules */ include_once('../lib/modules.inc'); -/** LAM cache */ -include_once('../lib/cache.inc'); // Start session @@ -123,7 +121,6 @@ if (($_SESSION['mass_counter'] < sizeof($accounts)) || !isset($_SESSION['mass_po } // all accounts have been created else { - $_SESSION['cache']->refresh_cache(true); echo "
\n"; echo "

" . _("LDAP upload has finished") . "

\n"; echo "
";