From 2d0bd94c643add43312294bab13789b16461878a Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 23 Sep 2008 16:37:53 +0000 Subject: The cache library is now loaded before the main library boot. git-svn-id: https://code.elgg.org/elgg/trunk@2106 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/api.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'engine/lib/api.php') diff --git a/engine/lib/api.php b/engine/lib/api.php index b60f90572..a44a4fc72 100644 --- a/engine/lib/api.php +++ b/engine/lib/api.php @@ -11,8 +11,6 @@ * @link http://elgg.org/ */ - require_once('cache.php'); - // Result classes ///////////////////////////////////////////////////////////////////////// /** @@ -241,7 +239,7 @@ /** * Clean out old stuff. * - */ + */ public function __destruct() { global $CONFIG; @@ -252,7 +250,7 @@ $expires = $time-$age; delete_data("DELETE from {$CONFIG->dbprefix}hmac_cache where ts<$expires"); - } + } } // API Call functions ///////////////////////////////////////////////////////////////////// -- cgit v1.2.3