Re: fetchQueryCallback
Reply #1 –
I guess the null would indeed be meaningless.
Does your IDE point to any specific place where the function is called with a null argument? (Just to be sure there isn't any edge-case I forgot about).
Re: fetchQueryCallback
Reply #5 –
Is the explanation acceptable, or it is better not to have such cases?
Re: fetchQueryCallback
Reply #6 –
Why use a method that does a callback if there is no callback? Just call fetchQuery() and if you want to use a callback, call fetchQueryCallback(), or just have fetchQuery($query, array $values, $callback = null). I don't have Elkarte open and I don't have much time (working on learning how to add modules for PuPHPet) and then a wedding later.