Stops the protected areas refresher if it is currently running.
This function clears the interval responsible for refreshing the
protected areas, sets the interval ID to null, and updates the
repeating intervals tracker to reflect that the refresher has stopped.
Returns 0|1
A promise that resolves to 1 if the
refresher was successfully stopped, or 0 if an error occurred.
Deprecated
This function is deprecated and will be removed in a future version. This is due to the protected areas system being redesigned to not need constant refreshing, and this function just updates the old variables, which are no longer used.
Stops the protected areas refresher if it is currently running.
This function clears the interval responsible for refreshing the protected areas, sets the interval ID to null, and updates the repeating intervals tracker to reflect that the refresher has stopped.