Hmmm... That's odd. Can you explain to me how this works?
In my constructor
, yet in my
which, as you point out, calls
. Which class am I actually using in that case? And, if the first one isn't used, why does it exist? It's a bit confusing now.
And when I use the global
var in the ACP module, which class is called?
parameter is confusing to me.
$use_cache Whether this variable should be cached or if it changes too frequently to be efficiently cached
Yet the code says:
Code: Select all
So if you want to use cache, the cache is destroyed? Isn't this exactly the opposite of what both the parameter name as it's description state?
I'm not familiar with your extension's architecture right now, but yes, it might be the only way to run into the problem. Low probability of it happening isn't a reason not to use
set_atomic() though, I would argue. It takes minimal effort to fix it.
Aside from the effort (this whole discussion takes more effort than changing the code) I want to understand. I don't like to simply change some code because somebody says so, I need to know why it's better.
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2
Like my work? Buy me a coffee
to keep it coming.
-Available for custom work-