The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Where are $usercache and $postache are defined
Hi,
Just a quick one: Does anyone know where $usercache and $postcache are defined? Thanks. Michael |
#2
|
|||
|
|||
I haven't even heard of these variables, where are you accessing them from? Or what are you trying to do/figure out?
|
#3
|
|||
|
|||
It's in function.php. It stores the results from SQL queries, but I want to see how the cache is managed, e.g., flushed. Thanks.
Michael |
#4
|
|||
|
|||
$usercache is a temporary variable which stores/caches data from fetched users. It means that if fetch_userinfo() is used to fetch the data of a user which has been previously fetched, then instead of querying the database, the cache is returned. I'm not sure why you want to know about this one, its just really to optimise the fetch_userinfo() (and others) function.
I presume $postcache is something similar. Unless someone else has other ideas. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|