Several performance improvements

This commit is contained in:
Michael Vogel
2016-01-15 23:27:25 +01:00
parent 471963a142
commit 90a8d6f0f5
12 changed files with 236 additions and 117 deletions

View File

@@ -912,6 +912,10 @@ class App {
}
function get_cached_avatar_image($avatar_image){
return $avatar_image;
// The following code is deactivated. It doesn't seem to make any sense and it slows down the system.
/*
if($this->cached_profile_image[$avatar_image])
return $this->cached_profile_image[$avatar_image];
@@ -931,6 +935,7 @@ class App {
}
}
return $this->cached_profile_image[$avatar_image];
*/
}