Jump to content

Cron: update disabled currencies?


outlet.ee

Recommended Posts

I need the cron to update all the currencies but apparently id does only the active ones. I tried to change all the .`active` = 1' into .`active` <= 1' in currency-related files but it didn't do anything.

 

Does anybody know a good solution for this, so all the currencies will be updated?

Link to comment
Share on other sites

Outlet,

 

What version of PS do you use?

 

Can you copy the whole definition/contents of function:

 

public static function getCurrencies($object = false, $active = true, $group_by = false)
 
and function:
 
public static function refreshCurrencies()
 
(they are located in classes/Currency.php, but I think you knew already)
 
pascal.
 
 
(P.S. In 1.6.0.14, both active AND inactive are being refreshed, so maybe it's something else...)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...