From 870af710614c7457b82f637907e755f5d9cc88fc Mon Sep 17 00:00:00 2001 From: Michael Meer Date: Sun, 13 Jan 2013 16:44:52 +0100 Subject: deleted function was commented out already --- boot.php | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'boot.php') diff --git a/boot.php b/boot.php index eb9d71f98..7af9248ad 100644 --- a/boot.php +++ b/boot.php @@ -814,30 +814,6 @@ if(! class_exists('App')) { return $this->curl_headers; } - /* //MicMee 20120109 function no longer in use commented out - function get_cached_avatar_image($avatar_image){ - if($this->cached_profile_image[$avatar_image]) - return $this->cached_profile_image[$avatar_image]; - - $path_parts = explode("/",$avatar_image); - $common_filename = $path_parts[count($path_parts)-1]; - - if($this->cached_profile_picdate[$common_filename]){ - $this->cached_profile_image[$avatar_image] = $avatar_image . $this->cached_profile_picdate[$common_filename]; - } else { - $r = q("SELECT `contact`.`avatar_date` AS picdate FROM `contact` WHERE `contact`.`thumb` like \"%%/%s\"", - $common_filename); - if(! count($r)){ - $this->cached_profile_image[$avatar_image] = $avatar_image; - } else { - $this->cached_profile_picdate[$common_filename] = "?rev=" . urlencode($r[0]['picdate']); - $this->cached_profile_image[$avatar_image] = $avatar_image . $this->cached_profile_picdate[$common_filename]; - } - } - return $this->cached_profile_image[$avatar_image]; - } - */ - function get_template_engine() { return $this->theme['template_engine']; } -- cgit v1.2.3